API reference › Webhooks › Update endpoint
Update a webhook endpoint
PATCH
/v1/webhooks/:idPauses an endpoint or changes which events it receives. The URL is not editable — a different URL is a different endpoint, so create one and delete the old.
No CLI command yet — webhooks are managed over the API only.
| Field | Type | Description |
|---|---|---|
| disabled | boolean | Pauses delivery without deleting the endpoint or its history. |
| events | array | Replaces the event list wholesale. Send every event you still want, not only the new one. |
curl -s -X PATCH https://api.propgate.dev/v1/webhooks/019fcf9a-3c4d-7e5f-a06b-7c8d9e0f1a2b \
-H "authorization: Bearer pg_live_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" \
-H 'content-type: application/json' \
-d '{"disabled":true}'{
"data": {
"createdAt": "2026-08-03T12:00:00.000Z",
"disabled": true,
"events": [
"domain.failed",
"domain.recovered"
],
"id": "019fcf9a-3c4d-7e5f-a06b-7c8d9e0f1a2b",
"object": "webhook",
"url": "https://example.com/hooks/propgate"
},
"error": null,
"meta": null
}Disabling is the reversible option: the endpoint stops receiving events but
keeps its id, its secret, and its
delivery history. Send disabled: false to
resume.