Creates a new role.
The name of the role being created. The name must be unique within the workspace.
The description of the role being created.
The permissions (scopes) to assign to the new role. For a full list of scopes, run the 'List roles' call or refer to our documentation.
A successful response.
Role object
The unique identifier of the role.
The name of the role.
The description of the role.
The permissions (scopes) assigned to the role.
The indication if the role is custom or not. This is 'true' if the role is a custom role.
Role created successfully.
Invalid request format or parameters.
Invalid bearer token. If you receive this message more than once try creating a new Client ID/Client Secret or generating a new bearer token.
You don't have permission to access this resource.
Resource exhausted.