public void DeleteStopwordList() { IamAuthenticator authenticator = new IamAuthenticator( apikey: "{apikey}"); DiscoveryService service = new DiscoveryService("2019-04-30", authenticator); service.SetServiceUrl("{serviceUrl}"); var result = service.DeleteStopwordList( environmentId: "{environmentId}", collectionId: "{collectionId}" ); Console.WriteLine(result.Response); }
public void DeleteStopwordList() { IamConfig config = new IamConfig( apikey: apikey ); DiscoveryService service = new DiscoveryService(versionDate, config); service.SetEndpoint(url); var result = service.DeleteStopwordList( environmentId: environmentId, collectionId: collectionId ); Console.WriteLine(result.Response); }
public void DeleteStopwordList() { TokenOptions tokenOptions = new TokenOptions() { IamApiKey = apikey, ServiceUrl = url }; DiscoveryService service = new DiscoveryService(tokenOptions, versionDate); var result = service.DeleteStopwordList( environmentId: environmentId, collectionId: collectionId ); Console.WriteLine(result.Response); }