← Back to schema index

RegenerateWebhookSecretRequest

Optional body for regenerating a webhook endpoint's secret. Without a body, the previous secret keeps a 24-hour grace period.

Properties

FieldTypeDescription
immediateboolean

true revokes the previous secret at once, with no grace period. Use it if the secret was exposed.

Used in operations

  • POST /v1/webhooks/{id}/regenerate-secret