curl --request DELETE \
--url https://api.example.com/cabinet/admin/rbac/roles/{role_id} \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Delete a custom admin role. System roles cannot be deleted.
curl --request DELETE \
--url https://api.example.com/cabinet/admin/rbac/roles/{role_id} \
--header 'Authorization: Bearer <token>'{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}