Update a Webhook

patch
Update a Webhook

[environmentBaseUrl]/v1/webhooks/:id
This API is useful to update the URL of your currently registered webhook.
Request
Response
Request
Path Parameters
id
required
string
Identifier of the webhook
Body Parameters
url
required
string
URL of the webhook
Response
200: OK
{
"data": {
...WebhookDocument // Check WebhookDocument page for the sample data
}
}
404: Not Found
Webhook with given ID not found.
{
"error": {
"code": 5,
"title": "NOT_FOUND",
"status": 404,
"message": "Webhook not found!"
}
}

‚Äč