Update System Properties

URL:
https://<root>/system/properties/update
Methods:
POST
Required Capability:
Access allowed with the "Security and infrastructure" privilege
Version Introduced:
10.9

Description

The update operation modifies the system properties for an ArcGIS Enterprise on Kubernetes deployment. When using this operation, all current system properties must be passed through in the request, including both the updated and preexisting property values. The current properties can be retrieved from the JSON view of the Properties resource and used as input for this operation's properties parameter. Only new system properties added to the JSON object, or properties with updated values, will be modified by the operation.

Request parameters

ParameterDetails

properties

The JSON object containing the system properties to be added or updated.

Example
Use dark colors for code blocksCopy
1
2
3
4
5
6
properties={
  "containerStartUpTimeoutSeconds": 900,
  "allowGPAndExtensionPublishingToPublishers": true,
  "arcgis.com.map.url": "https://organization.example.com/context/apps/mapviewer/index.html",
  "arcgis.com.map.text": "My Orgainzation's Map Viewer"
}

f

The response format. The default response is html.

Values: html | json | pjson

System properties

ParameterDetails

containerStartUpTimeoutSeconds

Sets the timeout (in seconds) for the start-up of containers during the upgrade process. The default value is 900.

uploadFileExtensionAllowedList

Specifies which files are allowed to be uploaded through the file upload API by identifying the allowable extensions. It is a list of comma-separated extensions without dots. If this property is not specified, a default list is used.

Default list: soe | cdpk | sd | sde | odc | csv | txt | zshp | agssite | agssiteservices | zip | geodatabase | kmz | json | geojson | gpx | xlsx | xls

allowGPAndExtensionPublishingToPublishers

Introduced at 11.0. When set as true, this property allows administrators and publishers to publish geoprocessing services and deploy service extensions (SOEs). By default, only administrators can publish geoprocessing services and service extensions.

Values: true | false

arcgis.com.map.url

Introduced at 11.2. Specifies the URL to use for the ArcGIS Online Map Viewer preview link that opens a service in Map Viewer.

arcgis.com.map.text

Introduced at 11.2. Modifies the text to use for the ArcGIS Online Map Viewer preview link.

Example usage

Before calling this operation, gather the current system properties configured for the deployment from the Properties resource. The JSON view of the resource is demonstrated below. These properties will be passed in with new properties, or modified values, in the properties parameter:

Use dark colors for code blocksCopy
1
2
3
4
{
  "containerStartUpTimeoutSeconds": 900,
  "allowGPAndExtensionPublishingToPublishers": true
}

The following is a sample POST request that demonstrates updating the deployment's system properties to include the arcgis.com.map.url and arcgis.com.map.text properties:

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
POST /context/admin/system/properties/update HTTP/1.1
Host: organization.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

properties={
  "containerStartUpTimeoutSeconds": 900,
  "allowGPAndExtensionPublishingToPublishers": true,
  "arcgis.com.map.url": "https://organization.example.com/context/apps/mapviewer/index.html",
  "arcgis.com.map.text": "My Orgainzation's Map Viewer"
}&f=json&token=HRozb6bnTL6gfA-SJO-IxhfLgJrioK1KJdMLWmCE5HjHWz9U3fOiFv3-HkgPZqsLljTkk2WDENGt5fjho5s39e_mZL5At60UvJPoNnC5O2sv2HTlumG7TsYfbtnokpWmS6-lf8XoQpSKusZwmxIkEMP-yE0Wxrj8o9sWKi29J-pxzkoCDhoUfdLt6NnBWxhESpegh8BzNcEruqxuDQD-JRmaTsbRDaBHTQTePMzQePhXl7KcEG9Cfkw2sa7P1W1e

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.