Skip to main content

Delete a Role

Delete a role by Id.

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 Object endpoint instead.

Endpoint

DELETE /v1/roles/:roleId

Parameters

ParameterDescriptionTypeRequired
roleIdThe roleId of the role you want to delete.JSON bodyyes

Request

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

Response

200 OK