Last updated 2 years ago
PATCH [environmentBaseUrl]/v1/webhooks/:id
PATCH
[environmentBaseUrl]/v1/webhooks/:id
This API is useful to update/disable the URL of your currently registered webhook.
{ "data": { ...WebhookDocument // Check WebhookDocument page for the sample data } }
{ "error": { "code": 5, "title": "NOT_FOUND", "status": 404, "message": "Webhook not found!" } }
id
string
Identifier of the webhook
url
URL of the webhook
disabled
Boolean
Disable the webhook by passing true