Cleanup basic api call