Stop Services

Description

This operation stops the desired services on all (reachable) server machines in the cluster. This operation requires three properties: folder name, service name, and service type. If the service resides in the root folder, leave the folder property blank ("folderName": "").

If a service is stopped, it cannot service any incoming requests.

Request Parameters

Parameter

Details

folderName

The name of the folder containing the service, for example, "Planning". If the service resides in the root folder, leave the folder property blank ("folderName": "").

serviceName

The name of the service, for example, "FireHydrants".

type

The service type, for example, "MapServer".

f

The response format. The default response format is html.

Values: html | json

Example

{
    "services": [
        {
            "folderName": "",
            "serviceName": "SampleWorldCities",
            "type": "MapServer"
        },
        {
            "folderName": "Planning",
            "serviceName": "FireHydrants",
            "type": "FeatureServer"
        }
    ]
}

3/3/2017