DELETE
/{orgId}/{itemId}/webhookConnections/{connectionId}Deletes a webhook connection and optionally deletes the associated service webhook.
Note:
- If the service webhook deletion attempt fails, a partial failure will be returned with additional error details. The actual webhook may persist on the item.
- See Webhooks in ArcGIS Online for the privileges required to manage service webhooks.
Query parameters
| Name | Type | Required |
|---|---|---|
token | string¦null |
Path parameters
| Name | Type | Required |
|---|---|---|
connection | string | |
org | string | |
item | string |
Response status
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | success | WebhookConnectionSuccessResponse |
| 400 | Bad Request | invalid object | WorkflowJsonExceptionDTO |
| 404 | Not Found | error | WorkflowExceptionDTO |
Examples
Request
# You can also use wget
curl -X DELETE '/{orgId}/{itemId}/webhookConnections/{connectionId}' \
-H 'Authorization: Bearer <YOUR_TOKEN>'Response
{
"success": true,
"connectionId": "string",
"message": "string",
"name": "UnableToDetermineHostingServer"
}