Update User Profile attributes such as First Name, Last Name, Friendly Name, Email, Company, Country, Contact, Phone, and User Role. The user role can be updated by sending either role id or role name.
The Request Body must be a JSON object
The Response Body will be a JSON object
Bad Request, one or more of the required fields are not provided
Unauthorized. Missing Authorization or AccessToken or Access Token expired
Forbidden. Missing X-API-key
{- "firstName": "John",
- "lastName": "Smith",
- "friendlyName": "John Smith",
- "email": "john.smith@company.com",
- "company": "John's Company Inc.",
- "country": "USA",
- "contact": 1234567890,
- "phone": 1234567890,
- "userRoleId": "7d5620e0-f423-11e9-8071-89c0c4052141",
- "userRoleName": "End user",
- "groups": [
- "7d6207c0-f423-11e9-8071-89c0c4052141"
]
}
{- "userId": "7d675ef0-f423-11e9-8071-89c0c4052141",
- "customerId": "1234567890",
- "emailId": "jlake@company.com",
- "firstName": "John",
- "lastName": "Lake",
- "roleId": "7d5620e0-f423-11e9-8071-89c0c4052141",
- "status": "enabled",
- "groups": [
- "7d6207c0-f423-11e9-8071-89c0c4052141"
]
}