FRAMES | NO FRAMES | Description | Parameters | Examples | Response |
URL | http://<group-url>/update |
---|---|
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 update group request. The person must have "AdministratorAccess" privilege to update any group's properties. |
properties | Required Description: A JSON object containing the group property values to update. At least one parameter from the list in below needs to be specified to update.
Syntax: { "description":"<description>", "email":"<email>", } |
Example 1: URL for updating group Technicians with id "1" email in the "Workflow" service on sampleserver. The person who makes the request is "admin0000".
http://sampleserver/arcgis/rest/services/Workflow/WMServer/community/groups/1/update?user=admin0000&properties={"email":"technicians@wmx.com"}&f=pjsonExample 2: URL for updating group Managers with id "3" description and email in the "Workflow" service on sampleserver. The person who makes the request is "admin0000".
http://sampleserver/arcgis/rest/services/Workflow/WMServer/community/groups/3/update?user=admin0000&properties={"description":"Manage+Workflow+Repository""email":"managers@wmx.com"}&f=pjson{ "success": true }
{ "success": true }