cURL
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" } ] }
Retrieve a list of subaccounts associated with the authenticated user’s account.
CLI Usage: vastai show subaccounts
vastai show subaccounts
API key must be provided in the Authorization header
A list of subaccounts.
Show child attributes