Actualizar endpoint de webhook
Aplica un patch a un endpoint de webhook. URL, secret, eventTypes, isActive y metadata son parcheables de forma independiente. Los cambios de URL vuelven a ejecutar la verificación HTTPS + SSRF; los cambios de secret se vuelven a cifrar en reposo; los cambios de eventTypes se re-validan contra el catálogo canónico del plano de control. Los campos nil significan “dejar sin cambios”; un slice eventTypes explícitamente vacío significa “limpiar la lista de suscripción”.
Autorizaciones
JWT bearer token issued by the identity provider.
Encabezados
Idempotency key (canonical).
Idempotency key (legacy alias).
Idempotency key TTL in seconds.
"86400"
Parámetros de ruta
Webhook UUID.
"550e8400-e29b-41d4-a716-446655440000"
Cuerpo
New subscription list, re-validated against the canonical catalog. Omit to leave unchanged; an explicit empty array clears the subscription.
New active flag for the endpoint. Omit to leave unchanged.
New client-defined metadata. Omit to leave unchanged.
New shared signing secret (16-512 chars); re-encrypted at rest. Omit to leave unchanged.
"whsec_0123456789abcdef"
New HTTPS endpoint; re-runs the HTTPS + SSRF check. Omit to leave unchanged.
"https://example.com/webhooks/str-events"

