- URL:https://[root]/portals/[portalID]/webhooks/[webhookID]/deactivate
- Version Introduced:10.7
Example usage
Below is a sample ArcGIS Enterprise POST request for the deactivate operation:
POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/webhooks/ef98412f3555432aa42d3aecc81c633a/deactivate HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
f=pjson
Description
The deactivate operation pauses a specified organization webhook, which stops the webhook from delivering payloads if it's invoked. In addition to manual deactivation, webhooks will automatically deactivate when the deactivation policy requirements, set when the webhook is created, are met. The deactivation policy can be modified using the Update Webhook 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 information on how to configure service webhooks in ArcGIS Enterprise, see either the ArcGIS Server Admin 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
Parameter | Details |
---|---|
f | The response format. The default format is html. Values: html | json | pjson |
JSON Response example
{
"success": true
}