Users
Update a user
Changed onPartially updates an existing user. Only provided fields are updated.
patch/users/{id}
Request
- Base URLhttps://api.modjo.ai/v2
- URLhttps://api.modjo.ai/v2/users/{id}
- AuthHTTP bearer
Path parameters
idinteger required
User ID
Example:1
Request body
Example request
{
"email": "jane.doe@company.com",
"firstName": "Jane",
"lastName": "Doe",
"phoneNumber": "+33612345678",
"jobTitle": "Account Executive",
"jobDepartment": "Sales",
"role": "user",
"timezone": "Europe/Paris",
"hasLicense": true
}Response
User updated
Example response
{
"id": 1,
"email": "john@example.com",
"phoneNumber": "+33612345678",
"jobTitle": "Account Executive",
"jobDepartment": "Sales",
"role": "user",
"timezone": "Europe/Paris",
"createdOn": "2024-06-15T14:30:00.000Z",
"modifiedOn": "2024-06-15T15:00:00.000Z",
"hasLicense": true
}Changes
- info
added the new optional request property
- info
added the required property
to the response with the status
- info