Skip to main content
POST
Unlock a challenge by spending keys

Authorizations

x-api-token
string
header
required

Path Parameters

id
string
required

The ID of the challenge to unlock

Body

application/json
amount
integer
required

The number of keys to spend

Required range: x > 0

Response

Successful response

amountDebited
number
required

The number of keys actually spent

challengeStatus
string
required

The new status of the challenge