System Administration >
Settings
>
User Management
>
Roles
Delete custom role
If a role is assigned to a role binding then the deletion of
the role is not allowed. Precanned roles cannot be deleted.
Request:
Method:
DELETE
URI Path(s):
/policy/api/v1/aaa/roles/<role>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a
Example Request:
DELETE https://<policy-mgr>/policy/api/v1/aaa/roles/myRole
Successful Response:
Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a
Example Response:
200 OK
Required Permissions:
crud
Feature:
users_custom_role
Additional Errors:
301 Moved Permanently
307 Temporary Redirect
400 Bad Request
403 Forbidden
409 Conflict
500 Internal Server Error
503 Service Unavailable