v3

latestSwagger 2.02026-08-067506752.0 MB
role

Return all or a set of roles in the organization

get/v1/org/{orgId}/role

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