Vast.ai API
Team

Create a new team

1min
POST
https://console.vast.ai/api/v0/team

Creates a new team with the authenticated user as the owner. The user's existing API key becomes the owner key for the team. The user cannot already be a team or be a member of another team.

The operation:

  1. Converts the user into a team
  2. Creates default team roles (member, manager, owner)
  3. Converts user's API key into the owner key
  4. Adds the creating user as a team member

CLI Usage: vast create team --name <team_name>

Authentication
BearerAuth
Body Parameters
body
*
team_name
*
permissions
*
Responses
200
Team created successfully
msg
400
Bad Request
success
error
msg
401
Unauthorized - Invalid or missing API key
success
error
msg
403
Forbidden - User is blacklisted
success
error
msg
404
User's master API key not found
success
error
msg