- URL:https://<users-url>/removeRoles(POST only)
- Required Capability:Default administrator role | All authorized privileges
- Version Introduced:10.1
This operation removes roles that have been previously assigned to a user account. This operation is supported only when the user and role store supports reads and writes.
The username of the user from which the roles are being removed.
A comma-separated list of role names assigned to the user.
The response format. The default response format is html.
Values: html | json | pjson
Below is a sample encoded POST request for removeRoles:
POST /webadaptor/admin/security/users/removeRoles HTTP/1.1 Host: machine.domain.com Content-Type: application/x-www-form-urlencoded Content-Length:  username=jwhite&roles=editors,planners&f=json
JSON Response example