GET
/
v1
/
permissions.getPermission
cURL
curl --request GET \
  --url https://api.unkey.dev/v1/permissions.getPermission \
  --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.

Query Parameters

permissionId
string
required

The id of the permission to fetch

Minimum length: 1
Example:

"perm_123"

Response

200
application/json

The Role

The response is of type object.