adding delete function to api