- URL:
- https://<root>/security/users/update
- Methods:
POST- Required Capability:
- Access allowed with either the "Update", "Delete", "Security and Infrastructure", or "Servers" privileges
- Version Introduced:
- 10.1
Description
The update operation updates a user account in the user store with new information. This operation is available only when the user store is a read-write store, such as the default ArcGIS Server store.
Request parameters
| Parameter | Details |
|---|---|
| The name of the user. The name must be unique in the user store. Example |
| The password for this user. Example |
(Optional) | The full name for the user. Example |
(Optional) | Adds comments or description for the user account. Example |
(Optional) | An email for the user account. Example |
| The response format. The default response format is Values: |
Example usage
The following is a sample POST request for the update operation:
POST /<context>/admin/security/users/update HTTP/1.1
Host: organization.example.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
username=jwhite&password=newSecret&fullname=John White&description=An updated description&email=jwhitenew@email.com&f=pjsonJSON Response example
{"status": "success"}