Skip to main content
 print this page

Get role details

GET 

/roles/:id

Returns the full detail of a single role, including RoleConsolidatedPermissions: the effective permission set after expanding the transitive dependencies of RolePermissions. That field is always computed and cannot be requested or suppressed.

The caller must be attached to the role or be one of its role managers, unless the request carries Super Admin context.

Note that an unknown role id is reported as HTTP 500, not 404 or 400, because the handler raises it as a backend exception.

Request

Responses

Role details.

Response Headers
    Access-Control-Allow-Origin
    Access-Control-Allow-Methods
    Access-Control-Allow-Headers