ListRolesRequest
| Field | Type | Description |
|---|---|---|
page_size | int32 | |
cursor | string | Opaque next_cursor from the previous page; keep the other filters the same. The preferred way to read every row. |
Required scope: role:read
Use stable role IDs returned here for invitations and member role replacement.
Roles are listed system roles first, then by name. pageSize is 1 to 100 and defaults to 100. When nextCursor is set, send it
back as cursor with the same filters for the next page; an empty nextCursor
means you have every row.
Discovery does not authorize delegation. See Manage Roles
for administrative grants, replacement semantics, and the distinction from
effective Customer View access.
POST /public-api/publicapi.v1.Role/ListRoles Lists roles of the authenticated workspace, system roles first, then by name. Pages with page_size (default and max 100) and cursor: pass next_cursor back until it is empty.
| Field | Type | Description |
|---|---|---|
page_size | int32 | |
cursor | string | Opaque next_cursor from the previous page; keep the other filters the same. The preferred way to read every row. |
| Field | Type | Description |
|---|---|---|
roles | repeated Role | |
next_cursor | string | Pass as cursor to read the next page. Empty on the last page. |
{ "pageSize": 100}