// [START job_search_delete_company_beta] public static object DeleteCompany(string projectId, string tenantId, string companyId) { CompanyServiceClient companyServiceClient = CompanyServiceClient.Create(); string companyName = CompanyName.Format(projectId, tenantId, companyId); DeleteCompanyRequest request = new DeleteCompanyRequest { Name = companyName }; companyServiceClient.DeleteCompany(request); Console.WriteLine("Deleted Company."); return(0); }