ArcGIS REST API

Update Webhook

Description

The update webhook operation allows administrators to update any of the previously configured parameters for their webhook.

Note:

This operation was introduced in ArcGIS Enterprise 10.7.

Request parameters

ParameterDetails
name

(required)

Specifies the webhook's name.

Syntax: String

url

(required)

Identifies the payload URL.

Syntax: String

"https://webhookURL:8000"

secret

(optional)

A user-defined element that can be added to the payload to help authenticate the message on your receiver.

Syntax: String

"12345ABCDE"

configuration

(optional)

Sets the configuration properties for your webhook.

Syntax: JSON object

{
   "deactivationPolicy": {
      "numberOfFailures": 5,
      "daysInPast": 5
   }
}

events

(required)

Defines the events that will trigger the webhook.

Syntax: JSON array (string)

["/items","/users"]

Example usage

https://webadaptor.domain.com/webadaptorname/sharing/rest/portals/<org ID>/webhooks/<webhook ID>/update

JSON response example

{
   "success": true
}