/[webhookID]/deactivate: Deactivate Webhook

URL:
https://[root]/portals/[portalID]/webhooks/[webhookID]/deactivate
Methods:
GET
Version Introduced:
10.7

Example usage

The following is a sample ArcGIS Enterprise POST request for the deactivate operation:

Use dark colors for code blocksCopy
1
2
3
4
5
6
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.

Request parameters

ParameterDetails

f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example

Use dark colors for code blocksCopy
1
2
3
{
  "success": true
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.