/v1/webhook
Update a webhook subscription
Update a webhook subscription by ID. Pass null to unset optional fields in the DB. Only the fields passed will be updated.
patch/v1/webhooks/{webhookId}/
Request
- Base URLhttps://api.counselhealth.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
Path parameters
webhookIdstring required
Headers
Idempotency-Keystring
Example:550e8400-e29b-41d4-a716-446655440000
Optional idempotency key. Repeat requests with the same key and body return the original result.
Request body
Example request
{
"destination": "https://www.google.com"
}Response
Default Response
Example response
{
"destination": "https://www.google.com",
"created_at": "2030-01-01T00:00:00Z",
"updated_at": "2030-01-01T00:00:00Z"
}Changes
No recorded changes to this operation across all 1 revision of this API.