Skip To Content

Enable Primary Site Administrator

Description

This operation enables login privileges for the primary site administrator account. This operation can only be invoked by an another administrator in the system. However, if you did not have any other administrators in the system and accidentally disabled the primary site administrator account, you can re-enable the account by running the password reset utility. This utility is shipped in <ArcGIS Server installation directory>\Server\tools\passwordreset. Use the -e option to re-enable the primary site administrator. For more information on this utility, see Resetting a forgotten password.

Request parameters

ParameterDetails
f

The response format. The default response format is html.

Values: html | json| pjson

Example usage

Below is a sample POST request for enable:


POST /webadaptor/admin/security/psa/enable HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

f=json

JSON Response example

{"status": "success"}