Skip To Content

Deactivate All

  • URL: https://[root]/services/[ServiceName].[ServiceType]/webhooks/deactivateAll(POST only)
  • Required Capability:Default administrator role | Feature layer | Geoprocessing
    Note:

    Users assigned the Geoprocessing privilege will also require the Publish server-based layers privilege to be added to their custom role.

  • 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.

Note:

ArcGIS Enterprise supports organization, feature service, and geoprocessing webhooks. The ArcGIS Portal Directory allows for the creation and management of organization webhooks, whereas the ArcGIS Server Administrative API Directory supports the creation and management of geoprocessing and feature service webhooks. For more information on organization webhooks in ArcGIS Enterprise, see either the ArcGIS Portal Directory API webhook documentation or the Manage webhooks in ArcGIS Enterprise administrative documentation. ArcGIS Online also supports feature service webhooks, which are managed in the ArcGIS Online Administrative Services Directory. To learn more about ArcGIS Online feature service webhooks, see the Web Hooks API documentation.

Request parameters

ParameterDetails
f

The response format. The default format is html.

Values: html | json | pjson

Example usage

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


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

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


POST /webadaptor/admin/services/myService.FeatureServer/webhooks/deactivateAll HTTPS/1.1
Host: machine.domain.com
Content-type: application/x-www-form-urlencoded
Content-Length: []

f=pjson

JSON Response example

{"status": "success"}