Replaces the authenticated 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.
The user's groups cannot be modified and are ignored in the payload. Group membership is managed by using the PUT /Groups API.

Entitlement required: anyone (Any authenticated user).