Get Implied Permissions
Get implied permissions for a given permission.
caution
This endpoint has been deprecated and will be phased out at the end of 2023. Please update any existing usages of it to use the Query endpoint instead.
Endpoint
GET /v1/permissions/:permissionId/permissions
Parameters
Parameter | Description | Type | Required |
---|---|---|---|
permissionId | The permissionId of the permission you want to retrieve implied permissions for. | URL param | yes |
Request
- cURL
curl "https://api.warrant.dev/v1/permissions/edit-report/permissions" \
-X GET \
-H "Authorization: ApiKey YOUR_KEY"
# Class method
Response
[
{
"permissionId": "view-report"
},
{
"permissionId": "view-dashboard"
}
]