Skip to main content
POST
/
v2
/
invite_users
Invite Users
curl --request POST \
  --url https://api.galileo.ai/v2/invite_users \
  --header 'Content-Type: application/json' \
  --header 'Galileo-API-Key: <api-key>' \
  --data '
{
  "emails": [
    "<string>"
  ],
  "auth_method": "email",
  "role": "user",
  "group_ids": [],
  "send_email": true
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Galileo-API-Key
string
header
required

Body

application/json
emails
string[]
required
Minimum array length: 1
auth_method
enum<string>
default:email
Available options:
email,
google,
github,
okta,
azure-ad,
custom
role
enum<string>
default:user
Available options:
admin,
manager,
user,
read_only
group_ids
string<uuid4>[]
send_email
boolean
default:true

Response

Successful Response