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" } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ADMIN
MEMBER
GUEST
Was this page helpful?