Skip To Content
ArcGIS Developer
Dashboard

Update (Services Properties)

Description

The update operation modifies the default settings for newly published services. Currently, the only supported property is preferSharedInstances. This property controls whether new, compatible services published from ArcGIS Pro will use shared or dedicated instances.

Request parameters

ParameterDetails
properties

A JSON object that describes each property to be set. Currently, the only supported property is preferSharedInstances. When set to true, compatible services will use shared instances when first published. When set to false, they will use dedicated instances. The default is true.

Example

properties={"preferSharedInstances": true}
f

The response format. The default format is html.

Values: html | json | pjson

Example usage

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


POST /context/admin/services/properties/update HTTP/1.1
Host: organization.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

properties={"preferSharedInstances": true}&f=pjson&token=s2cDL4j66bSzBgsITfX0MG1hManyUgIV9uYco_kV6UHjHai-oJHDNCAm7SXErmwAgjpMHm_NFlCuFDOzIrm8i-J1Esug479v-Xyr5OhvoZEkZl6ABr9J1vRBJ1-KJcUL2tIKPFqfUi7M0_Lspng9A9jfM-vJIR1FQiTte7K8JTZUVYfcXrbEnfa61iKJAxiMXxI3qslJp0_-p5NWv6pQFKkKp8x4Lz0lW1FlrmrNLxY.

JSON Response example

{"status": "success"}