Update Database Account

  • URL:https://<database>/updateAdminAccount(POST only)
  • Required Capability:Administrator
  • Related Resources:Database
  • Version Introduced:10.2.1

Description

By default, the initial administrator account you define during the Create Site operation is used as the database administrator account. However, you can use this operation to change the database administrator account credentials. To change just the password for the account, provide the password parameter. If you want to create a completely new account for the database, provide new values for the username and password parameters.

Note:

This operation will cause the database and the portal to be restarted.

Request Parameters

ParameterDetails
username

The new database administrator user name. This is an optional parameter. If this parameter is not provided, only the password for the account is changed.

password

The new password for the account.

f

The response parameter. The default response parameter is html.

Values: html | json

Example Usage

https://webadaptor.domain.com/gis/portaladmin/system/database/updateAdminAccount
username=newdbadmin
password=newdbadminpassword