Vast.ai Docs

⌘K
Overview
Introduction
QuickStart
FAQ
Guides
Windows SSH/SCP Guide
Oobabooga (LLM webui)
Stable Diffusion
Disco Diffusion
Google Colab
GPU Instances
Launch Modes
Rental Types
Search Interface
Templates
SSH/SCP
Jupyter
Data Movement
Cloud Sync
Docker Execution Environment
CLI
Overview & Quickstart
CLI Commands
API Reference
Instances
Accounts
Machines
Hosts
Data Movement
Search
Docs powered by
Archbee
API Reference
Accounts

Create Subaccount

2min
POST
Create a subaccount for the current user.
QUERY PARAMETERS
api_key
string
*
API key of the user
BODY PARAMETERS
body
CreateSubaccountRequest
*
email
string
*
Email address to use for the subaccount.
username
string
*
Username to use for the subaccount.
password
string
*
Password to use for the subaccount.
host_only
boolean
*
Specifies whether the subaccount is a host or client. Set to `true` for a host-only subaccount, or `false` for a client subaccount.
parent_id
string
*
The ID of the parent account. Set to "me" to indicate that the subaccount is a child of the current account.
RESPONSES
200
Successful response with subaccount information
CreateSubaccountResponse
Subaccount Created
user
User




Updated 20 Jul 2023
Did this page help you?
PREVIOUS
Get Subaccounts
NEXT
Reset API Key
Docs powered by
Archbee