Skip to main content

Rotate a stream signing secret

POST 

/api/v0/streams/:id/signing-secret/rotate/

Mint a new signing secret for this stream. Requires a team API key with the manage scope. The current secret moves into the overlap slot and keeps verifying for 24 hours, so in-flight retries and an endpoint mid-update still pass. The stream's spec is pushed to the delivery service before the response; when the service refuses, the rotation is rolled back and the request answers 503. Expects no request body.

Request​

Responses​

The new signing secret and when the previous one stops verifying.