- Required Capability:Administrator
- Version Introduced:10.2
The create site operation initializes and configures Portal for ArcGIS for use. It must be the first operation invoked after installation. Creating a new site involves:
- Creating the initial administrator account
- Creating a new database administrator account (which is same as the initial administrator account)
- Creating token shared keys
- Registering directories
This operation is time consuming, as the database is initialized and populated with default templates and content. If the database directory is not empty, this operation attempts to migrate the database to the current version while keeping its data intact. At the end of this operation, the web server that hosts the API is restarted.
The initial administrator account name
The password for the initial administrator account
The full name for the initial administrator account
The account email address
An optional description for the account
The index of the secret question to retrieve a forgotten password
The answer to the secret question
The JSON string including the path to the location of the site's content.
The formatting parameter. Default is html.
Values: json | html
description=The initial admin account
JSON Response Example