remove host from api definition