POST
/
api
/
v1
/
users
curl --request POST \
  --url https://app.tegon.ai/api/v1/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "userIds": [
    "<string>"
  ],
  "workspaceId": "<string>"
}'
[
  {
    "id": "<string>",
    "username": "<string>",
    "fullname": "<string>",
    "email": "<string>",
    "role": "ADMIN"
  }
]

Authorizations

Authorization
string
header
required

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

Body

application/json
userIds
string[]
required
workspaceId
string

Response

200
application/json
Successful response
id
string
username
string
fullname
string
email
string
role
enum<string>
Available options:
ADMIN,
MEMBER,
GUEST