Generates a new signing secret for a webhook endpoint. The old secret stops working immediately. The new secret is returned once — store it securely.
Rotating the secret invalidates the previous secret immediately. Update your webhook verification code with the new secret before processing further events.
After rotating, update your webhook verification code with the new secret immediately. Any deliveries signed with the old secret will fail verification.