test delete api