/// <summary>
 /// Updates the currently logged-in user.
 /// The method only updates the user password.
 /// </summary>
 /// <param name="user">The <see cref="User"/> object with the new password.</param>
 public async Task UpdateCurrentUser(User user)
 {
     await _restClient.Put<User>("/user/current", user);
 }
 /// <summary>
 /// Updates the currently logged-in user.
 /// The method only updates the user password.
 /// </summary>
 /// <param name="user">The <see cref="User"/> object with the new password.</param>
 public async Task UpdateCurrentUserAsync(User user)
 {
     await _restClient.PutAsync<User>("user/current", user);
 }