Api referenceEndpointsWebhooks
Replace the signing secret
POST
The new secret signs every request from now on, retries of earlier events included. Shown only in this response.
tenantKeyheader
AuthorizationBearer <token>Tenant API key, ohs_sk_ + 43 base62 characters.
webhook_id*stringFormat
uuidThe new secret.
application/json- response
secret*stringcurl -X POST 'http://localhost:8080/v1/webhooks/497f6eca-6276-4993-bfeb-53cbbbba6f08/rotate-secret' \ -H 'Authorization: Bearer ohs_sk_...'{ "secret": "whsec_MfKQ9r8GKYqrTwjUPD8ILPZIo2LaLaSw"}