remove api directory