Skip To Content
ArcGIS Developer

Change Provider


The changeProvider operation updates an individual service to use either a dedicated or a shared instance type. When a qualified service is published, the service is automatically set to use shared instances.

When using this operation, services may populate other provider types as values for the provider parameter, such as ArcObjects and SDS. While these are valid provider types, this operation does not support changing the provider of such services to either ArcObjects11 or DMaps. Services with ArcObjects or SDS as their provider cannot change their instance type.

Request parameters


Specifies the service instance as either a shared (DMaps) or dedicated (ArcObjects11) instance type. These values are case sensitive.

Values: ArcObjects11 | DMaps


The response format. The default response format is html.

Values: html | json | pjson

Example usage

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

POST /context/admin/services/Hosted/TestMap.MapServer/changeProvider HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Content-Length: []


JSON Response examples

The following response indicates that the changeProvider operation was executed successfully:

{"status": "success"}

The following error response occurs when a provider value that is incompatible with the service is set.

  "status": "error",
  "messages": ["Changing the provider of the service 'TestMap.MapServer' to 'DMaps' is not permitted. "],
  "code": 500