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

Authorizations

Authorization
string
header
required

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

Response

The permissions in your workspace

id
string
required

The id of the permission

Example:

"perm_123"

name
string
required

The name of the permission.

Example:

"domain.record.manager"

slug
string
required

The slug of the permission

Example:

"domain-record-manager"

description
string

The description of what this permission does. This is just for your team, your users will not see this.

Example:

"Can manage dns records"