Deactivate All

URL:
https://<root>/services/<serviceName>.<serviceType>/webhooks/deactivateAll
Methods:
POST
Required Capability:
Access allowed with either the "Geoprocessing" or "Feature layer" privileges
Version Introduced:
11.1

Description

The deactivateAll operation temporarily deactivates all configured webhooks for a geoprocessing or feature service. While deactivated, the service's webhooks will not be invoked and payloads will not be delivered.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

Example usages

The following is a sample POST request for the deactivateAll operation, deactivating all webhooks for a specific geoprocessing service:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /webadaptor/admin/services/myService.GPServer/webhooks/deactivateAll HTTPS/1.1
Host: machine.domain.com
Content-type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
{"status": "success"}

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