Skip to main content

Get Implied Roles

Get implied roles for a given role.

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/roles/:roleId/roles

Parameters

ParameterDescriptionTypeRequired
roleIdThe roleId of the role you want to retrieve implied roles for.URL paramyes

Request

curl "https://api.warrant.dev/v1/roles/admin/roles" \
-X GET \
-H "Authorization: ApiKey YOUR_KEY"

Response

[
{
"roleId": "store-manager"
},
{
"roleId": "viewer"
}
]