{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nopaque-co-uk/json-schema/nopaque-co-uk-rotate-api-key-request-schema.json",
  "title": "RotateApiKeyRequest",
  "description": "Optional POST body for `POST /workspaces/{workspaceId}/api-keys/{keyId}/rotate`.\nThe whole body may be omitted to accept the default overlap.\n",
  "x-generated": "2026-11-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nopaque-co-uk-api-keys-api-openapi.yml#/components/schemas/RotateApiKeyRequest",
  "type": "object",
  "properties": {
    "overlapDays": {
      "type": "integer",
      "minimum": 0,
      "maximum": 30,
      "default": 7,
      "description": "How long the predecessor keeps working after the successor is minted. `0` is an\nimmediate cutover — the old key stops authenticating at once, so only use it\nwhen the replacement is already deployed.\n"
    }
  }
}