Skip to main content
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,
      "key_id": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "deleted_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Response

A list of subaccounts.

users
object[]