v1

latestOpenAPI 3.0.22026-07-144652931.4 MB
Webhooks

Update a webhook subscription

Updates an existing webhook subscription.

Only the fields being updated need to be included on the request. This operation does not support updating the delivery_method of the webhook subscription.

Scoped OAuth requires: webhook_subscriptions.write

put/webhook_subscriptions/{id}

Path parameters

idstring required

The ID of the resource.

Headers

Acceptstring required

The Accept header is used as a versioning header.

Content-Type'application/json' required

Request body

Response

The updated webhook subscription.

Example response

{
  "webhook_subscription": {
    "oauth_client": {
      "id": "AGMEB7F7YJYELCPG4Y5YWMYGXE",
      "type": "oauth_client_reference",
      "summary": "PagerDuty Webhook Integration"
    }
  }
}