Update Primary Site Administrator

URL:
https://<root>/security/psa/update
Methods:
POST
Required Capability:
Access allowed only with the default administrator role
Version Introduced:
10.1

Description

The update operation changes the account properties of the primary site administrator account.

Request parameters

ParameterDetails

username

You can optionally provide a new name for the primary site administrator account.

Example
Use dark colors for code blocksCopy
1
username=agsadmin

password

The password for the new primary site administrator account.

Example
Use dark colors for code blocksCopy
1
password=newSecret

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the update operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
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=pjson

JSON Response example

Use dark colors for code blocksCopy
1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.