Rotate Partner Webhook
Rotate the signing key of a partner webhook (overlap rotation).
Mints a fresh secret (returned exactly once) and keeps the previous key(s) valid for
grace_seconds so the partner can switch over without dropping deliveries.
Path Parameters
Body
Body accepted on the rotate (POST) request.
Only the grace window is accepted; the current secret is NOT required — the endpoint
is gated by the write:partner_webhooks scope. The outgoing key(s) stay valid for
grace_seconds so the partner can switch over without dropping deliveries.
Response
Successful Response
Response for setup (first PUT) and rotate: the generated secret is shown once.
secret is null on a repeat PUT that only updates url/enabled without minting a
new key.