delete unused api