/// <summary> /// Update the password of the given admin. /// </summary> /// <param name="username">The name of the admin for which the password should be updated.</param> /// <param name="password">The new password for the given admin.</param> /// <returns></returns> public async Task <InfluxDbApiResponse> UpdateClusterAdminAsync(string username, string password) { var user = new User { Name = username, Password = password }; return(await _influxDbClient.UpdateClusterAdmin(NoErrorHandlers, user, username)); }
public async Task <InfluxDbApiResponse> UpdateClusterAdmin(IEnumerable <ApiResponseErrorHandlingDelegate> errorHandlers, User user, string name) { return(await _influxDbClient.UpdateClusterAdmin(errorHandlers, user, name)); }