Rotate a webhook signing secret
POST/webhooks/endpoints/:key/rotate-secret
Issues a new signing secret for the endpoint.
- The new secret signs every request from this moment, retries included.
- Keep the previous secret for 24 hours only to verify requests that were already on their way; it is revoked after that.
- Every call rotates again, and the secret is shown only in this response.
- An unknown
key, and an endpoint you have not set or have deleted, answer404 NOT_FOUND.
Request
Responses
- 200
- 400
- 401
- 403
- 404
The new signing secret
Error envelope
Error envelope
Error envelope
Error envelope