Get a custom role

Get details about a custom role.

Authentication

AuthorizationBearer

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

Path parameters

organizationIdstringRequired
The ID of the Organization to which the role belongs.
roleIdstringRequired
The role's ID.

Response

OK
createdAtdatetime
The time the role was created.
createdByobject
idstring
The role's ID.
namestring
The role's name.
permissionslist of strings
The role's permissions.
restrictedWorkspaceIdslist of strings
The IDs of Workspaces that the role is restricted to.
scopeTypeenum
The role's scope.
updatedAtdatetime
The time the role was last updated.
updatedByobject
descriptionstring
The role's description.

Errors

400
Get Custom Role Request Bad Request Error
401
Get Custom Role Request Unauthorized Error
403
Get Custom Role Request Forbidden Error
404
Get Custom Role Request Not Found Error
500
Get Custom Role Request Internal Server Error