Skip To Content

Remove Users From Role

Description

This operation removes a role assignment from multiple users.

Request parameters

ParameterDetails
rolename

The name of the role to be removed.

Example

rolename=editors
users

A comma-separated list of usernames that have been assigned the designated role. Each username must exist in the user store.

Example

users=njones,aturing
f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

Below is a sample POST request for removeUsersFromRole:


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=json

JSON Response example

{"status": "success"}