Returns roles of the workspace. Each role includes its name and status.
Authentication
AuthorizationBearerSend your token in the Authorization: Bearer <token> header. See Authentication for API keys and OAuth.
Query parameters
showArchivedbooleanOptionalfalseWhether to show archived roles.
Responses
200 OK
application/json
namestringRequired1 The name of the role. Must be unique.
isAdminRolebooleanOptionalWhether this is the admin role. Only one role can be the admin role.
isGuestRolebooleanOptionalWhether this is the guest role. Only one role can be the guest role.
idstringOptionalThe id of the role.
isAgentRolebooleanOptionalWhether this is a retained role from the legacy agent-as-user model. The role cannot be modified.
isPresetbooleanOptionalWhether this role is one of the preset roles. Preset roles can be edited, archived and deleted.
isArchivedbooleanOptionalWhether the role has been archived.
createdBystringOptionalThe id of the user who created this role.
createdOnstringOptionalThe date this role was created.
updatedBystringOptionalThe id of the user who updated this role.
updatedOnstringOptionalThe date this role was last modified.