Update Webhook
This endpoint allows you to update a previously registered webhook.
It accepts the same parameters as the Register New Webhook endpoint and responds with an updated Webhook entity
Body
-
kind string
Values are
order
,confirmation_document_available
, orcertificate_document_available
. -
endpoint_url string
PUT
/v2/webhooks/{id}
curl \
-X PUT https://api.squake.earth/v2/webhooks/{id} \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"kind":"order","endpoint_url":"string"}'
Request examples
{
"kind": "order",
"endpoint_url": "string"
}