Update primary site administrator

URL:
https://<notebookserveradmin>/security/psa/update
Methods:
POST
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

ParameterDetails

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

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=json

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.