remove api client