FRAMES | NO FRAMES Description | Parameters | Examples | Response
Remove Users (Operation)
URL http://<group-url>/removeUsers
Parent Resource Group

Description

This operation is supported from 10.3.1 onwards.

Removes users from a group.

Parameters

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 Usage

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

Example 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

JSON Response Syntax

{ "success": true }

JSON Response Example

{ "success": true }