- URL: https://<notebookserveradmin>/security/psa/update(POST only)
- Required Capability:Administrator
- Version Introduced:11.2
Description
The update primary site administrator operation allows you to change the account properties of the primary site administrator.
Request parameters
Parameter | Details |
---|---|
username (Required) | The username of the primary site administrator. You can provide a new username for the primary site administrator account to change the username. |
password | The updated password for the primary site administrator account. |
f (Optional) | The response format. The default response format is html. Values: html | json | pjson |
Example usage
Sample POST request
POST /webadaptor/admin/security/psa/update HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
username=agsadmin&password=newSecret&f=json
JSON Response example
{"status": "success"}