FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL | http://<group-url>/removeUsers |
---|---|
Parent Resource | Group |
Parameter | Details |
---|---|
f | Description: The response format. The default response format is html. Values: html | json |
user | Required Description: The username of the person who makes the remove user from a group request. The person must have "AdministratorAccess" privilege to remove any group's users. |
users | Required Description: A JSON object containing the username of users to be added to the group. At least one user needs to be specified to remove users from the group. Syntax: users=user1,user2,user3 |
Example 1: URL for removing user with username "mbrock" from group Technicians with id "1". The person who makes the request is "admin0000".
http://sampleserver/arcgis/rest/services/Workflow/WMServer/community/groups/1/removeUsers?user=admin0000&users=mbrock&f=pjsonExample 2: URL for removing users with username "pjackson" and "kroyce" to group Managers with id "3". The person who makes the request is "admin0000".
http://sampleserver/arcgis/rest/services/Workflow/WMServer/community/groups/1/removeUsers?user=admin0000&users=pjackson,kroyce&f=pjson{ "success": true }
{ "success": true }