Skip to main content
PUT
/
me
Update authenticated user
curl --request PUT \
  --url https://api.vantage.sh/v2/me \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "default_dashboard_token": "<string>"
}
'
{
  "default_workspace_token": "<string>",
  "workspaces": [
    {
      "token": "<string>",
      "name": "Acme Corp.",
      "created_at": "2023-08-04T00:00:00Z",
      "enable_currency_conversion": true,
      "currency": "USD",
      "exchange_rate_date": "<string>"
    }
  ],
  "bearer_token": {
    "description": "<string>",
    "created_at": "2023-08-04T00:00:00Z",
    "scope": [
      "<string>"
    ]
  },
  "default_dashboard_token": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.vantage.sh/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Update the authenticated User.

default_dashboard_token
string | null

The token of a Dashboard to set as the User default. Send null to clear.

Response

Me model

default_workspace_token
string | null
required
workspaces
object[]
required
bearer_token
object
required
default_dashboard_token
string | null

The token of the default Dashboard for the User.