Skip to main content
PATCH
/
users
/
{userId}
cURL
curl --request PATCH \
  --url https://api.lucidtech.ai/{basePath}/users/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: <content-type>' \
  --data '
{
  "metadata": {},
  "roleIds": [
    "<string>"
  ],
  "name": "<string>",
  "description": "<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

Path Parameters

userId
string
required

Body

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

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