Skip to main content
POST
Pin account to a version

Authorizations

Authorization
string
header
required

The data.access_token value from Get access token.

x-api-key
string
header
required

API key issued by Kira.

Headers

X-Api-Version
string

Version applied to this request. It wins over your account's pinned version — see Versioning.

Example:

"2026-04-14"

Body

application/json
target_version
string
required

The version to pin your account to. Use a version this site documents — 2026-04-14 or 2026-06-01.

A version Kira does not support is refused, and so is a version older than your current pin. The error names every version the API accepts.

Example:

"2026-04-14"

Response

Your account is pinned. Both versions come back so you can confirm the move.

previous_version
string

The version your account was on before this call. An account that was never pinned reports 2025-01-01.

current_version
string

The version your account is on now. It equals target_version.