Skip to main content
POST
/
api
/
v0
/
team
/
invite
/
invite team member
curl --request POST \
  --url https://console.vast.ai/api/v0/team/invite/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "user@example.com",
  "role": "developer"
}'
{
  "success": true,
  "msg": "New invitation sent to ${email}"
}

Authorizations

Authorization
string
header
required

API key must be provided in the Authorization header

Body

application/json
email
string<email>
required

Email address of the user to invite

Example:

"user@example.com"

role
string
required

Role to assign to the new team member

Example:

"developer"

Response

Invitation sent successfully

success
boolean
Example:

true

msg
string
Example:

"New invitation sent to ${email}"