- URL:
- https://<root>/services/<serviceName>.<serviceType>/webhooks/deleteAll
- Methods:
POST
- Required Capability:
- Access allowed with either the "Geoprocessing" or "Feature layer" privileges
- Version Introduced:
- 11.1
Description
The delete
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 deactivate
operation.
Request parameters
Parameter | Details |
---|---|
| The response format. The default format is Values: |
Example usages
The following is a sample POST request for the delete
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 delete
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"}