List roles
Lists the predefined roles: the basic roles, then each service's.
GET
Lists the predefined roles: the basic roles, then each service's.
bearerheader
AuthorizationBearer <token>An access token, or an API key.
pageSize?integerMaximum number of roles to return. Defaults to 50; values above 500 are treated as 500.
Format
int32Range
0 <= valuepageToken?stringPage token from a previous response.
OK
application/json- response
nextPageToken*stringToken for the next page; empty on the last page.
roles*array<>Roles, the basic ones first, then by service.
curl -X GET 'https://api.kosem.ai/v1/roles'Example Response
{
"nextPageToken": "string",
"roles": [
{
"description": "string",
"grantableOn": [
"string"
],
"includedPermissions": [
"string"
],
"name": "string",
"title": "string"
}
]
}