Skip to main content
POST
Rotate a log stream's verification secret

Path Parameters

streamId
string<uuid>
required

Log stream ID whose secret to rotate.

Body

application/json
secret
object
required

The new verification secret.

gracePeriodSeconds
integer
default:86400

How long the current secret keeps being accepted after the new one is added: 3600 (1 hour) to 604800 (7 days), default 86400 (24 hours), or 0 to stop accepting it immediately.

Required range: -9007199254740991 <= x <= 9007199254740991

Response

200 - application/json

OK

signatureVerification
object | null
required

The stream's webhook signature verification, or null when deliveries are not verified.

generatedSecret
string

The secret Sazabi minted for this request. Shown only once: store it now and paste it into the sender.