Skip to main content
PATCH
Actualizar endpoint de webhook

Autorizaciones

Authorization
string
header
requerido

JWT bearer token issued by the identity provider.

Encabezados

X-Idempotency
string

Idempotency key (canonical).

X-Idempotency-Key
string

Idempotency key (legacy alias).

X-TTL
string

Idempotency key TTL in seconds.

Ejemplo:

"86400"

Parámetros de ruta

webhookId
string
requerido

Webhook UUID.

Ejemplo:

"550e8400-e29b-41d4-a716-446655440000"

Cuerpo

application/json
eventTypes
string[]

New subscription list, re-validated against the canonical catalog. Omit to leave unchanged; an explicit empty array clears the subscription.

isActive
boolean

New active flag for the endpoint. Omit to leave unchanged.

metadata
object

New client-defined metadata. Omit to leave unchanged.

secret
string

New shared signing secret (16-512 chars); re-encrypted at rest. Omit to leave unchanged.

Ejemplo:

"whsec_0123456789abcdef"

url
string

New HTTPS endpoint; re-runs the HTTPS + SSRF check. Omit to leave unchanged.

Ejemplo:

"https://example.com/webhooks/str-events"

Respuesta

OK

correlationId
string
requerido

Request-scoped correlation identifier echoing X-Request-ID, for pivoting from response to trace.

Ejemplo:

"550e8400-e29b-41d4-a716-446655440001"

webhook
object
requerido

The created, fetched, or updated webhook endpoint.