- URL: https://[root]/services/[ServiceName].[ServiceType]/webhooks/activateAll(POST only)
- Required Capability:Default administrator role | Feature layer | Geoprocessing
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
The activateAll operation restarts all deactivated webhooks for a geoprocessing or feature service. Once reactivated, webhooks will resume delivering payloads when they are next invoked.
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.
The response format. The default format is html.
Values: html | json | pjson
The following is a sample POST request for the activateAll operation, activating all webhooks for a geoprocessing service:
POST /webadaptor/admin/services/myService.GPServer/webhooks/activateAll HTTPS/1.1
The following is a sample POST request for the activateAll operation, activating all webhooks for a feature service:
POST /webadaptor/admin/services/myService.FeatureServer/webhooks/activateAll HTTPS/1.1
JSON Response example