Drop_role for non-SU role
POST {{host}}:{{port}}
This method is used for dropping a role.
You cannot drop a role with associated users.
- operation (required) - this must always be drop_role
- id (required) - this is the id of the role you are dropping
Request Body
{"operation"=>"drop_role", "id"=>"{{role_id}}"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Authorization | string |