- URL:
- https://<root>/security/roles/removeUsersFromRole
- Methods:
POST
- Required Capability:
- Access allowed with either the "Update", "Delete", "Security and Infrastructure", or "Servers" privileges
- Version Introduced:
- 10.1
Description
The remove
operation removes a role assignment from one or multiple users.
Request parameters
Parameter | Details |
---|---|
| The name of the role to be removed. Example
|
| A comma-separated list of usernames that have been assigned the designated role. Each username must already exist in the user store. Example
|
| The response format. The default response format is Values: |
Example usage
The following is a sample POST request for the remove
operation:
POST /webadaptor/admin/security/roles/removeUsersFromRole HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
rolename=editors&users=njones,aturing&f=pjson
JSON Response example
{"status": "success"}