GET
/
api
/
v1
/
roles
/
{role_id}
{
  "name": "<string>",
  "description": "<string>",
  "tenant_id": 123,
  "id": 123,
  "permissions": []
}
Retrieve a role’s information by its role ID.
  • Method: GET
  • Path: /api/v1/roles/{role_id}

Path Parameter

  • role_id (integer, required): The ID of the role

Response

Returns a Role object.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

role_id
integer
required

Response

200
application/json

Successful Response

The response is of type object.