Rotate a webhook signing secret
rotate_webhook_secretRotate the signing secret for a webhook to invalidate the old one. The new secret must be updated immediately in your endpoint's signature verification to avoid delivery failures.
Instructions
Generate a new signing secret for a webhook and return it. WARNING: the old secret stops working immediately — update your endpoint’s signature verification with the new secret right away or deliveries will fail verification.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| webhook_id | Yes | The webhook id. |