Update Site Mode

Description

The update operation is used to move between the two types of site modes. Switching to READ_ONLY mode will restart all your services as the default behavior. Moving to EDITABLE mode will not restart services.

NoteNote:

The default options when enabling READ_ONLY mode can be changed by configuring them in the serverProperties resource. You can choose not to copy configurations locally and not to restart services. See the serverProperties resource for the required format for changing these options.

Request parameters

Parameter

Details

siteMode

Description: The mode you will set your site to.

Values: READ_ONLY or EDITABLE.

runAsync

Description: Determines if this operation must run asynchronously.

Values: true | false

f

Description: The response format. The default response format is html.

Values: html | json

Response properties

Property

Details

status

Reports whether the operation was a success.

Example usage

http://server:port/arcgis/admin/mode/update
	siteMode=READ_ONLY
	runAsync=TRUE
 f=json

9/13/2017