Error
A valid request URL is required to generate request examples{
"status": 400,
"error": "Bad Request",
"message": "Cannot delete role as it is assigned to 3 subjects. Remove all role assignments before deleting."
}{
"timestamp": "2023-11-07T05:31:56Z",
"status": 404,
"error": "Not Found",
"message": "Not Found.",
"path": "/api/v1/rbac-manager/policies/srn2:policy%23missing"
}{
"timestamp": "2023-11-07T05:31:56Z",
"status": 404,
"error": "Not Found",
"message": "Not Found.",
"path": "/api/v1/rbac-manager/policies/srn2:policy%23missing"
}{
"status": 404,
"error": "Not Found",
"message": "Not Found."
}Roles
Delete a role
Deletes a role. Fails if any subject is still assigned to the role; remove the assignments first.
DELETE
/
roles
/
{roleSrn}
Error
A valid request URL is required to generate request examples{
"status": 400,
"error": "Bad Request",
"message": "Cannot delete role as it is assigned to 3 subjects. Remove all role assignments before deleting."
}{
"timestamp": "2023-11-07T05:31:56Z",
"status": 404,
"error": "Not Found",
"message": "Not Found.",
"path": "/api/v1/rbac-manager/policies/srn2:policy%23missing"
}{
"timestamp": "2023-11-07T05:31:56Z",
"status": 404,
"error": "Not Found",
"message": "Not Found.",
"path": "/api/v1/rbac-manager/policies/srn2:policy%23missing"
}{
"status": 404,
"error": "Not Found",
"message": "Not Found."
}Was this page helpful?

