Skip To Content
ArcGIS Developers
Dashboard

/settings/update: Update Webhook Settings

  • URL:https://[root]/portals/[portalID]/webhooks/settings/update(POST only)
  • Version Introduced:10.7

Example usage

Below is a sample ArcGIS Enterprise POST request for the update operation:

POST /webadaptor/sharing/rest/portals/0123456789ABCDEF/webhooks/settings/update HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

notificationAttempts=3&notificationTimeOutInSeconds=10&notificationElapsedTimeInSeconds=30&f=pjson

Description

Note:

ArcGIS Enterprise administrators can use webhooks to track organizational events associated with items, groups, and members. An additional set of webhooks are available to support administration for feature service workflows in ArcGIS Online. For information, see Web Hooks (Feature Service).

The update operation adjusts several advanced parameters that apply to every webhook.

Request parameters

ParameterDetails
notificationAttempts

Determines how many attempts will be made to deliver a payload. By default, this is set to three (3) attempts. This parameter accepts any integer in the range of 0-5.

Example

notificationAttempts=3
notificationTimeOutInSeconds

Specifies the length of time (in seconds) that the portal will wait to receive a response. By default, this is set to 10 seconds. This parameter accepts any integer in the range of 0-60.

Example

notificationTimeOutInSeconds=10
notificationElapsedTimeInSeconds

Defines the amount of time between each payload delivery attempt. By default, this is set to 5 seconds. This parameter accepts any integer in the range of 1-100.

Example

notificationElapsedTimeInSeconds=5
f

The response format. The default format is html.

Values: html | json | pjson

JSON Response example

{
  "success": true
}