POST
/
users
Invite user to workspace
curl --request POST \
  --url https://api.blaxel.ai/v0/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "email": "jsmith@example.com"
}'
{
  "createdAt": "<string>",
  "updatedAt": "<string>",
  "createdBy": "<string>",
  "updatedBy": "<string>",
  "email": "<string>",
  "invitedBy": "<string>",
  "role": "<string>",
  "workspace": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Email of the user to invite

email
string<email>

Response

successful operation

Pending invitation in workspace Time fields for Persistance Owner fields for Persistance

createdAt
string

The date and time when the resource was created

updatedAt
string

The date and time when the resource was updated

createdBy
string

The user or service account who created the resource

updatedBy
string

The user or service account who updated the resource

email
string

User email

invitedBy
string

User sub

role
string

ACL role

workspace
string

Workspace name