Skip to main content
DELETE
/
api
/
v1
/
roles
/
{role_name}
Delete a role
curl --request DELETE \
  --url https://services.pref.rio/heimdall-admin/api/v1/roles/{role_name} \
  --header 'Authorization: Bearer <token>'
{
  "detail": "Permission denied to delete role 'data_analyst:read'"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

role_name
string
required

Response

Role deleted successfully