Skip to main content
PATCH
Update endpoint

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Endpoint id (whe_<uuid>)

Body

application/json
description
string | null
enabled
boolean | null

true re-enables an endpoint that auto-disabled, clearing its failure streak. This is the ONLY way out of the disabled state.

event_types
string[] | null
url
string | null

Response

The updated endpoint

An endpoint as read back. Deliberately has NO secret field of any kind.

created_at
string
required
enabled
boolean
required
event_types
string[]
required

Empty = every event type.

failure_count
integer<int32>
required

Consecutive failed delivery attempts since the last success.

id
string
required

whe_<uuid>.

object
string
required

Discriminator for polymorphic SDK decoders. Always "webhook_endpoint".

updated_at
string
required
url
string
required
description
string | null
disabled_at
string | null
last_error
string | null

A clamped failure summary — a status code or transport class, never a response body.

last_success_at
string | null
space_id
string | null

null = org-wide.