Skip To Content

Delete All

  • URL: https://[root]/services/[ServiceName].[ServiceType]/webhooks/deleteAll(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 deleteAll operation permanently deletes all configured webhooks for a geoprocessing or feature service. If you want to temporarily deactivate all webhooks for a service, rather than deleting them, use the deactivateAll operation.

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 deleteAll operation, deleting all webhooks for a specific geoprocessing service:


POST /webadaptor/admin/services/myService.GPServer/webhooks/deleteAll 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 deleteAll operation, deleting all webhooks for a specific feature service:


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

f=pjson

JSON Response example

{"status": "success"}