Get role templates

Get a list of available role templates in an Organization. A role template can be used as the basis for creating a new custom role.

Path parameters

organizationIdstringRequired
The Organization's ID.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Query parameters

scopeTypeslist of enumsOptional
Filter role templates based on the scope of permissions they include.
Allowed values:

Response

OK
namestring
The role's name.
permissionslist of strings
The role's permissions.
scopeTypeenum
The role's scope.
Allowed values:
descriptionstring or null
The role's description.

Errors