Skip To Content

Update Server Properties

Description

This operation allows you to update the server properties.

Note:
The update operation overwrites all existing properties. Updated properties are read by the server the next time it starts.

Request parameters

ParameterDetails
properties

The JSON object containing the server properties.

f

The response format. The default response format is html.

Values: html | json| pjson

Example usage

As of 10.7, this operation returns information for percentageMaxAllowedComputeCores and percentageMaxAllowedComputeMemory. For more information on these operations, see Server Properties.

Note:

The PushIdentityToDatabase property is only supported for use with Oracle databases. See serverProperties for more information.

Below is a sample POST request for update, formatted for readability:


POST /webadaptor/admin/system/properties/update HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

properties={
  "PushIdentityToDatabase": true,
  "WebContextURL": "https://mycompany.com/gis",
  "messageFormat": "esriServiceCatalogMessageFormatSoapOrBin",
  "uploadFileExtensionWhitelist": "soe,sd,sde,csv,txt,kmz,geodatabase",
  "featureServiceXSSFilter": "inputOutput",
  "percentageMaxAllowedComputeCores": 50,
  "percentageMaxAllowedComputeMemory": 50
}&f=json

JSON Response example

{"status": "success"}