added delete api call