Skip to content

Update user

PUT
/users/{userId}

Updates a user for the authenticated tenant

BaseUser object

Media typeapplication/json
object
email
string

Example

john.doe@example.com
firstName
string

Example

John
lastName
string

Example

Doe
orgId
string

Example

8089bb74-fd69-411b-8fd7-ad92a75fdf56
password

Let’s re-add this when we differentiate between email and username Username string json:"username"

string

Created

Media typeapplication/json
object
email
string
firstName
string
lastName
string
orgId
string

Example

{
"email": "john.doe@example.com",
"firstName": "John",
"lastName": "Doe",
"orgId": "8089bb74-fd69-411b-8fd7-ad92a75fdf56"
}

Invalid input

Media typeapplication/json
object
message
string

Example generated

{
"message": "example"
}

Unauthorized

Media typeapplication/json
string

Example generated

example

Internal Server Error

Media typeapplication/json