Skip to main content
PUT
Update a user by ID
Update a user by ID.

Authorizations

x-api-key
string
header
required

Path Parameters

Body

application/json

The user to update

name
string | null

The name of the user

Example:

"John Doe"

email
string | null

The email of the user

Example:

"john.doe@example.com"

phone
string | null

The phone number of the user

Example:

"1234567890"

Response

User updated successfully

id
string
required

The unique identifier of the user

Example:

"690739f7-3e1b-4ceb-a439-23bd9c7ae573"

created_at
string<date-time>
required

The timestamp when the user was created

Example:

"2024-12-09T19:15:03.738Z"

updated_at
string<date-time>
required

The timestamp when the user was last updated

Example:

"2024-12-09T19:15:03.738Z"

name
string
required

The name of the user

Example:

"John Doe"

email
string
required

The email of the user

Example:

"john.doe@example.com"

phone
string | null
required

The phone number of the user

Example:

"1234567890"

tenant_app_id
string
required

The ID of the tenant app this user belongs to

Example:

"2bac016b-ad8f-4bf9-afb3-a63814bca95f"

accounts
object[]
required

The user accounts associated with this user