Skip to main content
POST
/
users
cURL
curl --request POST \
  --url https://api.lucidtech.ai/{basePath}/users \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "email": "<string>",
  "metadata": {},
  "roleIds": [
    "<string>"
  ],
  "name": "<string>",
  "description": "<string>",
  "appClientId": "<string>"
}
'
{
  "updatedTime": "<string>",
  "metadata": {},
  "updatedBy": "<string>",
  "createdBy": "<string>",
  "name": "<string>",
  "createdTime": "<string>",
  "description": "<string>",
  "userId": "<string>",
  "roleIds": [
    "<string>"
  ],
  "profileId": "<string>",
  "status": "inactive"
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

Content-Type
string
required

Body

application/json
email
string
required
metadata
object
roleIds
string[]
name
string | null
Maximum string length: 4096
description
string | null
Maximum string length: 4096
appClientId
string

Response

200 response

updatedTime
string | null
required
metadata
object
required
updatedBy
string | null
required
Maximum string length: 4096
createdBy
string
required
Maximum string length: 4096
name
string | null
required
Maximum string length: 4096
createdTime
string
required
description
string | null
required
Maximum string length: 4096
userId
string
required
roleIds
string[] | null
profileId
string | null
status
enum<string>
Available options:
inactive,
active,
invite_pending