Skip To Content
ArcGIS Developer
Dashboard

/[webhookID]/deactivate: Deactivate Webhook

  • 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 the specified organization webhook. This stops the webhook from delivering payloads when it's invoked. Webhooks are also automatically deactivated when the deactivation policy is met.

Note:

For information on how to manage GP and feature service webhooks, see the Manage webhooks in ArcGIS Enterprise topic. To learn about what webhook types are supported in Enterprise, see About webhooks in ArcGIS Enterprise.

Request parameters

ParameterDetails
f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example

{
  "success": true
}