Skip to main content
POST
Pin account to a version
Stable since 2025-01-01 — unchanged in 2026-06-01.

Authorizations

Authorization
string
header
required

Access token from POST /auth (the data.access_token value).

x-api-key
string
header
required

API key issued by Kira. Required on every request, including /auth.

Headers

X-Api-Version
string

Optional. The date-versioned API version to apply for this request (e.g. 2026-04-14). When sent it always wins, even over your pinned account default. When omitted, the API uses your account's pinned version if set, otherwise a baseline default.

Example:

"2026-06-01"

Body

application/json
target_version
string
required

The date-versioned API version to pin your account to (e.g. 2026-04-14). Must be a supported version and not older than your current pin — downgrades and unknown versions return 400.

Example:

"2026-06-01"

Response

Account pinned. Returns your version pin before and after the upgrade.

previous_version
string
required

The version your account was pinned to before this call.

Example:

"2025-01-01"

current_version
string
required

The version your account is now pinned to (equals target_version).

Example:

"2026-06-01"