Skip to main content
PATCH
/
projects
/
{projectId}
/
customers
/
{customerId}
/
users
/
{userId}
Update a user
curl --request PATCH \
  --url https://api.console.corti.app/functions/v1/public/projects/{projectId}/customers/{customerId}/users/{userId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "firstName": "John",
  "lastName": "Doe",
  "enabled": true,
  "password": "My$ecureP@ssw0rd123!"
}'
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "email": "[email protected]",
  "firstName": "John",
  "lastName": "Doe",
  "emailVerified": true,
  "enabled": true,
  "createdAt": "2023-10-01T12:00:00Z"
}

Authorizations

Authorization
string
header
required

Path Parameters

projectId
string
required
Example:
customerId
string
required
Example:
userId
string<uuid>
required
Example:

Body

application/json
firstName
string
Example:
lastName
string
Example:
enabled
boolean
Example:
password
string
Required string length: 16 - 64
Example:

Response

email
string<email>
required
Example:
firstName
string
required
Example:
lastName
string
required
Example:
enabled
boolean
default:true
required
Example:
id
string<uuid>
Example:
emailVerified
boolean
default:false
Example:
createdAt
string<date-time>
Example: