api.unkey.dev/v1 (deprecated)
cURL
curl --request GET \ --url https://api.unkey.dev/v1/permissions.getRole \ --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 id of the role to fetch
1
"role_123"
The Role
The response is of type object.
object
Was this page helpful?