Skip To Content
ArcGIS Developers

Update (Services Properties)


This operation updates the default settings for properties that govern new services published to the organization. However, performing this operation will not update the properties of preexisting services. You will need to edit the properties of the individual services if you want to implement these changes to preexisting services.

Request parameters


A JSON object that describes each property to be set. The only available property is preferSharedInstances.

preferSharedInstances controls whether new compatible services published from ArcGIS Pro will use shared or dedicated instances. If set to true, compatible services will use shared instances when first published; if set to false, they will use dedicated instances. By default, this property is set to true.


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
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"}