Skip to main content
Unlock a token with a recovery code

Query Parameters

token
string

The locked token signing in handed back. Leave it out and the one in the request's cookies is used.

Pattern: ^[A-Za-z0-9._-]+$
Example:

"cir_a11b868cbba3c.WBv2Jc8lXo3pQ9rT5uYhZaEwSdFgHjKmNbVcXzLqRt0"

Body

application/json
recoveryCode
string
required

One of the recovery codes generated for the account. It is used up by this call and cannot serve again.

Minimum string length: 1
Example:

"12345678"

Response

The token was unlocked. Returns how many recovery codes are left.

codesCreatedOn
string<date-time>

When the current set of recovery codes was generated.

remainingRecoveryCodes
integer

How many recovery codes are left after this one was used up. Generating a new set replaces all of them at once.

Example:

3