Enable Primary Site Administrator

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

Description

The enable 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

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

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /webadaptor/admin/security/psa/enable HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

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.