- URL:
- https://<root>/security/psa/update
- Methods:
POST- Version Introduced:
- 12.0
Description
The update operation allows administrators to manually change the username and password of the primary site administrator account.
Request parameters
| Parameter | Details |
|---|---|
(Required) | The username associated with the primary site administrator account. |
(Required) | The password associated with the primary site administrator account. |
(Required) | The output format for this operation. The default value is Values: |
(Required) | Users interacting programmatically with this endpoint must generate a token that must be included as a request parameter. A token can be obtained using the Generate Token operation. |
Example usage
The following is a sample POST request for the update operation:
POST /arcgis/admin/security/psa/update HTTP/1.1
Host: organization.example.com:21443
Content-Type: application/x-www-form-urlencoded
Content-Length: []
username=newUsername&password=newPassword&f=pjson&token=<token>JSON Response syntax
{
"success": <true | false>
}JSON Response example
{
"success": true
}