v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Team

create team

Creates a new team with given name and following default roles:

  • Owner: Full access to all team resources, settings, and member management. The team owner is the user who creates the team.

  • Manager: All permissions of owner except team deletion.

  • Member: Can view, create, and interact with instances, but cannot access billing, team management, autoscaler, or machines.

  • The API key used to create the team becomes the team key and is used for all team operations (e.g., creating roles, deleting the team).

  • You can optionally transfer credits from your personal account to the new team account using the transfer_credit field.

CLI Usage: vastai create team --team_name <team_name> [--transfer_credit <amount>]

post/api/v0/team/

Request body

team_namestring required
transfer_creditnumber float

Credits to transfer from personal account to team

Example request

{
  "team_name": "my-awesome-team"
}

Response

Team Successfully Created!

successboolean
msgstring

Example response

{
  "success": true,
  "msg": "Team Successfully Created!"
}