- URL:
- https://[root]/community/groups/[groupID]/removeUsers
- Methods:
- POST
Example Usage
URL for Remove Users
https://www.arcgis.com/sharing/rest/community/groups/2ecb37a8c8fb4051af9c086c25503bb0/removeUsers
users=drohner, swilsonDescription
The remove users from group operation (POST only) allows group owner, group manager and org administrator to remove members from a group. Both users and group managers can be removed using this operation. Group owner cannot be removed from the group. A maximum of 25 users can be removed in one request.
Request Parameters
| Parameter | Details | 
|---|---|
| 
 | For a complete listing, see Common parameters. | 
| 
 | A comma-separated list of usernames (both admins and regular users) to be removed from the group. Example:  | 
Response Properties
| Property | Details | 
|---|---|
| 
 | A JSON array of usernames that were not removed. This can happen when the username was never a member of the group. | 
JSON Response Syntax
{
  "notRemoved": [  //only admins and users not successfully removed are returned.
    "<username1>",
    "<username2>"
  ]
}JSON Response Example
{
  "notRemoved": [
    "drohner",
    "swilson"
  ]
}
or
{"error": {
 "code": 400,
 "messageCode": "ORG_3100",
 "message": "Exceeded maximum number of users allowed per call.",
 "details": []
}}