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
Parameter | Description | Type | Required |
---|---|---|---|
roleId | The roleId of the role you want to retrieve implied roles for. | URL param | yes |
Request
- cURL
curl "https://api.warrant.dev/v1/roles/admin/roles" \
-X GET \
-H "Authorization: ApiKey YOUR_KEY"
Response
[
{
"roleId": "store-manager"
},
{
"roleId": "viewer"
}
]