API reference / JSON:API
patch
/v3/webhooks/{id}Update a webhook
- Operation
v3UpdateWebhook- Authentication
- API key
Request
Parameters
idpathrequiredstringBody
dataobjectrequiredResponses
200The updated webhook.
metaobjectrequireddataJsonApiResourcerequired400A malformed parameter, or a filter/include/language this endpoint cannot honour. Refused rather than ignored: an ignored filter returns a full answer that looks filtered.
errorsobject[]required401No key, an unknown key, a revoked key, or an inactive tenant.
errorsobject[]required403The key is valid but does not hold `webhooks:write`.
errorsobject[]required404No such resource.
errorsobject[]requiredExample
curl -X PATCH https://api.haavisa.com/v3/webhooks/<id> \
-H "Authorization: Bearer $HAAVISA_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"data": "<data>"
}'More in JSON:API
Something unclear? The eligibility guide explains the model behind the answers; the errors guide covers the envelope.