Default Service Properties

URL:
https://<services-url>/properties
Methods:
GET
Required Capability:
Access allowed with any authorized privilege

Description

The properties resource is used to provide default settings for new services when they are published to ArcGIS Server.

You can use the Update Default Service Properties operation to change the default settings. The operation won't change the properties of any existing services; for that, you can use the Edit Service operation for a particular service.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Response properties

PropertyDetails

properties

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

  • preferSharedInstances: Controls whether new compatible services published from ArcGIS Pro to the server site will use shared or dedicated instances. Starting at 10.8, this property is true by default for sites that are newly installed.

Example usage

The following is a sample request URL used to access the properties resource:

Use dark colors for code blocksCopy
1
https://machine.domain.com/webadaptor/admin/services/properties?f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
{"preferSharedInstances": true}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.