remove api handler