GET
/
v1
/
permissions.listPermissions
curl --request GET \
  --url https://api.unkey.dev/v1/permissions.listPermissions \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "perm_123",
    "name": "domain.record.manager",
    "description": "Can manage dns records"
  }
]

To use this endpoint, your root key must have the rbac.*.read_permission permission.

Changelog

DateChanges
Jul 08 2024Introduced endpoint

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

The permissions in your workspace

The response is of type object[].