Update a webhook endpoint
PATCH
/v1/webhook-endpoints/{endpoint_id}Requires the scope webhooks:write
Change the URL, the event types or the description, or switch the endpoint off (is_enabled: false) or on again.
#Path parameters
endpoint_idstringrequired
#Request body
application/json
descriptionstring or null
eventsstring[] or null
is_enabledboolean or null
urlstring or null
#Responses
200Successful Response
Show response fieldsHide response fields
created_atstring (date-time)required
descriptionstring or nullrequired
disabled_reasonstring or nullrequired
eventsstring[]required
failing_sincestring (date-time) or nullrequired
idstringrequired
is_enabledbooleanrequired
updated_atstring (date-time)required
urlstringrequired
#Errors
Errors use the standard error shape.
| Status | Meaning |
|---|---|
400 | The request is not valid. |
401 | Not signed in, or the credentials are not valid. |
402 | The balance is too low. |
403 | Not allowed to do this. |
404 | Not found. |
409 | Conflicts with the current state. |
413 | The request body is too large. |
415 | The content type is not supported. |
422 | A value in the request is not valid. |
429 | Too many requests. Wait for Retry-After seconds. |
500 | Something went wrong on our side. |
502 | A service Valeron depends on refused the request. |
503 | A service Valeron depends on is unavailable. |
