Update User - PUT /MyProfile (v2.0 and up)
Update existing user details.
Usage:
GET /MyProfile and get details of the logged-in users
PUT /MyProfile and update the user details.
URL
/cxrestapi/auth/MyProfile
Method:
PUT
Media Type (header):
Authorization: Bearer <access token value>
Content-Type: application/json;v=1.0
Parameters
Required:
updateUserProfileModel=[body]: Specifies the user details to update:
firstName=[string] - User first name
lastName=[string] - User last name
email=[string] - User email address
phoneNumber=[string] - User phone number
cellPhoneNumber=[string] - User cellular phone number
jobTitle=[string] - User job title
other=[string] - Additional user information
country=[string] - User country
localeId=[integer] - User Locale
Success Response:
Code: 204 Success
Error Response:
Code: 400 Bad Request
Code: 401 Unauthorized
Code: 403 Forbidden
Code: 404 Not Found
Sample Response:
no content
Notes:
Updates user details according to the defined parameters. Once the request is successful, it does not return any content. If the request fails, it returns an error response.
Send Documentation Feedback - If you have comments about this documentation, you can contact the documentation team by sending your feedback to us. We appreciate your feedback!