Update a Webhook

Update a Webhook

PATCH [environmentBaseUrl]/v1/webhooks/:id

This API is useful to update/disable the URL of your currently registered webhook.

Path Parameters

NameTypeDescription

id

string

Identifier of the webhook

Request Body

NameTypeDescription

url

string

URL of the webhook

disabled

Boolean

Disable the webhook by passing true

{
  "data": {
    ...WebhookDocument // Check WebhookDocument page for the sample data
  }
}

Last updated