List roles.
cURL
curl --request GET \ --url https://iam.eu.confidence.dev/v1/roles \ --header 'Authorization: Bearer <token>'
{ "roles": [ { "displayName": "<string>", "permissions": [ {} ], "creator": "<string>", "updater": "<string>", "createTime": {}, "updateTime": {}, "name": "<string>", "builtin": true, "labels": [ {} ], "owner": "<string>" } ], "nextPageToken": "<string>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The maximum number of roles to fetch.
Token used for pagination.
OK
Partial list of returned roles.
Show child attributes
A token that can be used to fetch more roles, empty if no more roles are available.
Was this page helpful?