Get the specified role

GET /v1/security/roles/{role}

Path parameters

  • role string Required

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • members array[object]
      Hide members attributes Show members attributes object
      • name string
      • principal_type string

        Value is User.

    • name string
  • 404 application/json

    Not Found

    Hide response attributes Show response attributes object
    • code integer
    • message string
GET /v1/security/roles/{role}
curl \
 --request GET 'http://localhost:9644/v1/security/roles/{role}'
Response examples (200)
{
  "members": [
    {
      "name": "string",
      "principal_type": "User"
    }
  ],
  "name": "string"
}
Response examples (404)
{
  "code": 42,
  "message": "string"
}