role

Return all or a set of roles in the organization

get/v1/org/{orgId}/role

Request

  • Base URL: https://localhost
  • URL: https://localhost/v1/org/{orgId}/role
  • Auth: none declared

Path parameters

orgIdstring required

Org identifier (either id or slug)

Query parameters

idsstring

(Optional) Comma separated Role Ids to find

typestring

(Optional) Return only default or custom roles

expandboolean

(Optional) Expand each role's policies and user count. Off by default: roles come back bare for a fast bulk lookup. Full user objects are only returned by the get-by-id endpoint.

Response

successful operation

nextstring

Changes

No recorded changes to this operation across all 20 revisions of this API.