Update session

put/api/v2/user/session

Allows you to update the session associated with the token passed via the Authorization header.

Request Body

extend boolean
Set to true to extend the access token life by half an hour
otp string required
Second factor authentication token
Example: 123456

200 Response

session object
created string <date-time>required
expires string <date-time>required
id string required
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$
ip string <ipv4>
IP address of the client that requested this access token
Example: 127.0.0.1
ipRestrict array[string]
IP addresses or CIDR block of clients that are allowed to use this token
origin string required
BitGo environment that issued this token
Example: test.bitgo.com
scope array[string] required
Session permissions
Example: ["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
The Unlock object, returned if this session is currently unlocked.
user string required
Example: 59cd72485007a239fb00282ed480da1f
Match pattern: ^[0-9a-f]{32}$