- URL:
- https://<root>/services/<serviceName>.<serviceType>/webhooks/activateAll
- Methods:
POST
- Required Capability:
- Access allowed with either the "Geoprocessing" or "Feature layer" privileges
- Version Introduced:
- 11.1
Description
The activate
operation restarts all deactivated webhooks for a geoprocessing or feature service. Once reactivated, webhooks will resume delivering payloads when they are next invoked.
Request parameters
Parameter | Details |
---|---|
| The response format. The default format is Values: |
Example usages
The following is a sample POST request for the activate
operation, activating all webhooks for a geoprocessing service:
POST /webadaptor/admin/services/myService.GPServer/webhooks/activateAll 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 activate
operation, activating all webhooks for a feature service:
POST /webadaptor/admin/services/myService.FeatureServer/webhooks/activateAll HTTPS/1.1
Host: machine.domain.com
Content-type: application/x-www-form-urlencoded
Content-Length: []
f=pjson
JSON Response example
{"status": "success"}