GET
/
api
/
v0
/
subaccounts
/
show subaccounts
curl --request GET \
  --url https://console.vast.ai/api/v0/subaccounts/ \
  --header 'Authorization: Bearer <token>'
{
  "users": [
    {
      "id": 123,
      "parent_id": 123,
      "api_key": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "deleted_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

A list of subaccounts.

users
object[]