public void DeleteExpansion()
        {
            IamAuthenticator authenticator = new IamAuthenticator(
                apikey: "{apikey}");

            DiscoveryService service = new DiscoveryService("2019-04-30", authenticator);

            service.SetServiceUrl("{serviceUrl}");

            var result = service.DeleteExpansions(
                environmentId: "{environmentId}",
                collectionId: "{collectionId}"
                );

            Console.WriteLine(result.Response);
        }
Ejemplo n.º 2
0
        public void DeleteExpansion()
        {
            IamConfig config = new IamConfig(
                apikey: apikey
                );

            DiscoveryService service = new DiscoveryService(versionDate, config);

            service.SetEndpoint(url);

            var result = service.DeleteExpansions(
                environmentId: environmentId,
                collectionId: collectionId
                );

            Console.WriteLine(result.Response);
        }
Ejemplo n.º 3
0
        public void DeleteExpansion()
        {
            TokenOptions tokenOptions = new TokenOptions()
            {
                IamApiKey  = apikey,
                ServiceUrl = url
            };

            DiscoveryService service = new DiscoveryService(tokenOptions, versionDate);

            var result = service.DeleteExpansions(
                environmentId: environmentId,
                collectionId: collectionId
                );

            Console.WriteLine(result.Response);
        }