Replace the signing secret
POST/v1/organizations/:org/webhooks/:webhook/rotate-secret
The new secret signs every delivery from now on, retries included. The previous secret keeps signing them too, as a second signature in Webhook-Signature, for 24 hours unless previous_secret_valid_hours says otherwise, so your receiver can be updated without failing any delivery. Send 0 after a leak, to stop using the old secret at once.
Request
Responses
- 200
- 400
- 403
- 404
The webhook with its new secret
The request is invalid
Your role does not allow this action
Not found, or not visible to you