Skip to main content

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

ParameterDescriptionTypeRequired
permissionIdThe permissionId of the permission you want to retrieve implied permissions for.URL paramyes

Request

curl "https://api.warrant.dev/v1/permissions/edit-report/permissions" \
-X GET \
-H "Authorization: ApiKey YOUR_KEY"

Response

[
{
"permissionId": "view-report"
},
{
"permissionId": "view-dashboard"
}
]