Remove an Implied Role
Remove implied role from a 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 Delete Warrant endpoint instead.
Endpoint
DELETE /v1/roles/:roleId/roles/:impliedRoleId
Parameters
Parameter | Description | Type | Required |
---|---|---|---|
roleId | The roleId of the role you want to remove an implied role for. | URL param | yes |
impliedRoleId | The id of the role you want to remove from the role specified by roleId . | URL param | yes |
Request
- cURL
curl "https://api.warrant.dev/v1/roles/admin/roles/viewer" \
-X DELETE \
-H "Authorization: ApiKey YOUR_KEY"
Response
200 OK