/api/v2/user/unlock
Unlocks the current user session, enabling operations that require an unlocked token, such as sending a transaction. Call this endpoint if an API returns a '401' response with the 'needsUnlock' body parameter set to 'true'.
Note: Unlocking a token with spending limits, removes all spending limits from the token.
duration
integer >= 1
<= 3600
600
otp
string 123456
session
object created
string <date-time>
required expires
string <date-time>
required id
string required 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$
ip
string <ipv4>
127.0.0.1
ipRestrict
array[string] origin
string required test.bitgo.com
scope
array[string] required ["crypto_compare","user_manage","openid","profile","wallet_create","wallet_manage_all","wallet_approve_all","wallet_spend_all","wallet_edit_all","wallet_view_all"]
unlock
object user
string required 59cd72485007a239fb00282ed480da1f
^[0-9a-f]{32}$