Replaces the user's attributes in Cloud Directory. On Success, the return response contains the details of the user and includes any groups to which the user belongs. The HTTP PUT method is used to replace the resource's attributes. For example, clients that previously retrieved the entire resource and revised it, can replace the resource by using an HTTP PUT.

Entitlement required: manageUserGroups (Manage users and groups) or manageAllUserGroups (Synchronize users and groups) or manageUserStandardGroups (Manage users and standard groups) or updateAnyUser (Update any user).
Note: You only need one entitlement, but you can have more than one.

Federated users cannot be modified. The user's groups cannot be modified and are ignored in the payload. Group membership is managed by using the PUT /Groups API.