Get permission
Retrieve details about a specific permission including its name, description, and metadata.
Required Permissions
Your root key must have the following permission:
- rbac.*.read_permission
Request body
Example request
{
"permission": "perm_1234567890abcdef"
}Response
Permission retrieved successfully
Example response
{
"meta": {
"requestId": "req_123"
},
"data": {
"id": "perm_1234567890abcdef",
"name": "users.read",
"slug": "users-read",
"description": "Allows reading user profile information and account details"
}
}Changes
Changed in 4 of the 90 revisions of this API.115
- ▲
the
permissionrequest property's maxLength was decreased to128request-property-max-length-decreased
- ●
changed the pattern of the request property
permissionfrom^[a-zA-Z][a-zA-Z0-9._-]*$to^[a-zA-Z0-9_:\-\.\*]+$request-property-pattern-changed
- ○
the
permissionrequest property's minLength was decreased from3to1request-property-min-length-decreased
- ▲
- ○
the endpoint scheme security
bearerwas added to the APIapi-security-added
- ○
the endpoint scheme security
rootKeywas removed from the APIapi-security-removed
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
- ○
api operation id
getPermissionremoved and replaced withpermissions.getPermissionapi-operation-id-removed
- ○