ReferenceAccess
List the roles
GET
Lists the BPMS 3.x roles of the tenant of the request, read-only and paginated; deleted roles are excluded.
bearerheader
AuthorizationBearer <token>The token of a session that createSession opened
page?integerZero-based page index
Format
int32Default
0size?integerPage size, from 1; values above 100 are capped
Format
int32Default
20sort?stringSort field, name or id; ties are ordered by id
Default
"name"A page of roles
application/json- response
items?array<>page?integerFormat
int32size?integerFormat
int32totalElements?integerFormat
int64totalPages?integerFormat
int32curl -X GET 'https://bpms.bpms.work/api/v1/access/roles'Example Response
{ "items": [ { "description": "string", "id": 0, "name": "string", "uuid": "string" } ], "page": 0, "size": 0, "totalElements": 0, "totalPages": 0}