api.unkey.dev/v1 (deprecated)
cURL
curl --request GET \ --url https://api.unkey.dev/v1/permissions.listRoles \ --header 'Authorization: Bearer <token>'
[ { "id": "role_1234", "name": "domain.record.manager", "description": "Can manage dns records" } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The Roles in your workspace
The response is of type object[].
object[]
Was this page helpful?