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'"
}

Documentation Index

Fetch the complete documentation index at: https://docs.dados.rio/llms.txt

Use this file to discover all available pages before exploring further.

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