remove references to config api_host, api_port, api_root