webhook
Update a webhook
Updates a webhook's URL, name, event types, active status or retry policy.
event_type and retry_policy replace their current values. Send the ETag you read as If-Match. The signing secret does not change.
patch/webhook/{webhook}
Request
- Base URL: http://localhost:3030
- URL: http://localhost:3030/webhook/{webhook}
- Auth: HTTP bearer
Path parameters
webhookstring required
The webhook's id, whk_....
Headers
If-Matchstring nullable
The ETag from your last read of the webhook. A stale value is refused with 409.
Request body
Response
The webhook.
Example response
{
"id": "whk_01h455vb4pex5vsknk084sn02q",
"name": "Production",
"url": "https://example.com/webhooks/placestack",
"secret_fingerprint": "9f86d081",
"href": "/webhook/whk_01h455vb4pex5vsknk084sn02q"
}Changes
No recorded changes to this operation across all 1 revision of this API.