Update a webhook

Modify webhook configuration.

PATCH

Parameters

Path Parameters

WebhookId
REQUIRED
Unique identifier of the webhook

Body

application/json
Url
URL endpoint where webhook events are sent.
Is_active
Whether the webhook is active.
Addresses
List of addresses being tracked, null if not an address activity webhook.
Template_ids
List of templates being tracked, null if not a template activity webhook.
Actions
List of actions being tracked, null if not an action activity webhook.
Status codeDescription
200An empty response
400Bad request error - the request contains invalid parameters or malformed data
500Internal server error - an unexpected error occurred on the server
cURL
curl -L -X PATCH \
"https://blockv-labs.io/webhooks/{webhookId}" \
-H 'Accept: application/json'
json
{
"type": "object"
}