Atualizar endpoint de webhook
Aplica um patch a um endpoint de webhook. URL, secret, eventTypes, isActive e metadata são individualmente aplicáveis via patch. Mudanças de URL reexecutam a verificação HTTPS + SSRF; mudanças de secret são recriptografadas em repouso; mudanças de eventTypes são revalidadas contra o catálogo canônico do plano de controle. Campos nil significam “deixar inalterado”; um slice eventTypes explicitamente vazio significa “limpar a lista de assinatura”.
Autorizações
JWT bearer token issued by the identity provider.
Cabeçalhos
Idempotency key (canonical).
Idempotency key (legacy alias).
Idempotency key TTL in seconds.
"86400"
Parâmetros de caminho
Webhook UUID.
"550e8400-e29b-41d4-a716-446655440000"
Corpo
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"

