How long the predecessor keeps working after the successor is minted. `0` is an immediate cutover — the old key stops authenticating at once, so only use it when the replacement is already deployed.
{
"$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"
}
}
}
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.