Get a single role
GET https://{{base_url}}/v3/roles/{{role_uid}}
The Get a single role request returns comprehensive information on a specific role.
To configure the permissions for your application via OAuth, please include the cm.roles.management:read scope.
To use the API Request, you will need to authenticate yourself either with a Management Token (highly recommended) or an Authtoken.
Read more about it in Authentication.
For more information, refer to the Get a single role API Reference document
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
include_permissions | boolean | Set this parameter to 'true' to include the details of the permissions assigned to a particular role. | |
include_rules | boolean | Set this to ‘true’ to include the details of the rules assigned to a particular role. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
api_key | string | ||
authtoken | string | Enter your authtoken. | |
authorization | string | For this call we recommend you to use management token. | |
Content-Type | string |