get /roles/{id}

Get a specific role.

Returns the role specified by the id parameter.

Path parameters

id (required)
The ID of the role.

Return type

RoleResponse

Example data

Content-Type: application/json

{ "data" : { "hasAllActions" : true, "isSystemRole" : true, "hasAllApps" : true, "name" : "name", "description" : "description", "id" : "00000000-0000-0000-0000-000000000000", "enabled" : true } }

Responses

200
Success. The specified role is returned.

400
The id parameter is malformed.

404
The specified role was not found.