Update user
PUT
/users/{userId}
Updates a user for the authenticated tenant
Authorizations
Section titled “Authorizations”Request Body
Section titled “Request Body”BaseUser object
Media typeapplication/json
object
email
string
Example
john.doe@example.comfirstName
string
Example
JohnlastName
string
Example
DoeorgId
string
Example
8089bb74-fd69-411b-8fd7-ad92a75fdf56password
Let’s re-add this when we differentiate between email and username
Username string json:"username"
string
Responses
Section titled “Responses”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
exampleInternal Server Error
Media typeapplication/json