Skip to main content
Browse Documentation

Update a user

Created by Alex Pop on 04 Aug 2020

Updated a user resource from a User object passed as an argument.

update(user: User): Promise<User>


Only the current user and a member of the System Administrators group can update a user resource


let user = {    
    "userId": "4b262379-5bbe-421e-a429-f6e2ab5a849b",
    "email": "",    
    "custom": {
        "department": "Marketing"
    .then(result => {
        console.log('API call result: ', result);
    .catch(error => {
        console.log('API call error: ', error);