Get role templates

GET

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.

Query parameters

scopeTypesenumOptional

Filter role templates based on the scope of permissions they include.

Allowed values: DEPLOYMENTWORKSPACEORGANIZATION

Response

OK

namestring

The role’s name.

permissionslist of strings

The role’s permissions.

scopeTypeenum
Allowed values: DEPLOYMENTWORKSPACEORGANIZATIONSYSTEM

The role’s scope.

descriptionstringOptional

The role’s description.

Built with