delete invalid api call