- URL:https://<properties-url>/update(POST only)
- Required Capability:Default administrator role
- Version Introduced:10.7.1
Description
This POST-only operation updates the default settings for properties that govern new services published to ArcGIS Server. Performing this operation to change properties will not affect the settings of any existing services in your site. You can use the Edit Service operation to change the settings of a particular service.
Request parameters
Parameter | Details |
---|---|
properties | A JSON object that describes each property to be set. The only available property is:
Updating this value completely replaces all previous values. It's important that any changes begin with the current object value and modify any properties to their desired state. |
f | The response format. The default response format is html. Values: html | json | pjson |
Response properties
Property | Details |
---|---|
status | Indicates the success or failure of the operation. |
Example usage
Below is a sample POST request for update:
POST /webadaptor/admin/services/properties/update HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
properties={"preferSharedInstances": true}&f=json
JSON Response example
{"status": "success"}