v1

latestOpenAPI 3.1.02026-07-13897404.3 KB
Team

invite team member

Sends an invitation email to the specified user to join the team with the given role.

CLI Usage: vastai invite team-member --email <email> --role <role>

post/api/v0/team/invite/

Request body

emailstring email required

Email address of the user to invite

rolestring required

Role to assign to the new team member

Example request

{
  "email": "user@example.com",
  "role": "developer"
}

Response

Invitation sent successfully

successboolean
msgstring

Example response

{
  "success": true,
  "msg": "New invitation sent to ${email}"
}