+
+
+
+
+ instanceFeatureSetDelete
+ +Remove last feature set. The GUI version does not remove the first feature set.
+ ++
/sdrangel/featureset
+ +
Usage and SDK Samples
+ + + +
+
+
+
+
+ curl -X DELETE "http://localhost/sdrangel/featureset"
+
+
+
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.FeatureSetApi;
+
+import java.io.File;
+import java.util.*;
+
+public class FeatureSetApiExample {
+
+ public static void main(String[] args) {
+
+ FeatureSetApi apiInstance = new FeatureSetApi();
+ try {
+ SuccessResponse result = apiInstance.instanceFeatureSetDelete();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FeatureSetApi#instanceFeatureSetDelete");
+ e.printStackTrace();
+ }
+ }
+}
+
+
+
+ import SWGSDRangel.api.FeatureSetApi;
+
+public class FeatureSetApiExample {
+
+ public static void main(String[] args) {
+ FeatureSetApi apiInstance = new FeatureSetApi();
+ try {
+ SuccessResponse result = apiInstance.instanceFeatureSetDelete();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FeatureSetApi#instanceFeatureSetDelete");
+ e.printStackTrace();
+ }
+ }
+}
+
+
+
+
+FeatureSetApi *apiInstance = [[FeatureSetApi alloc] init];
+
+[apiInstance instanceFeatureSetDeleteWithCompletionHandler:
+ ^(SuccessResponse output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+
+
+
+
+ var SdRangel = require('sd_rangel');
+
+var api = new SdRangel.FeatureSetApi()
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.instanceFeatureSetDelete(callback);
+
+
+
+
+ using System;
+using System.Diagnostics;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
+
+namespace Example
+{
+ public class instanceFeatureSetDeleteExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new FeatureSetApi();
+
+ try
+ {
+ SuccessResponse result = apiInstance.instanceFeatureSetDelete();
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling FeatureSetApi.instanceFeatureSetDelete: " + e.Message );
+ }
+ }
+ }
+}
+
+
+
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\Api\FeatureSetApi();
+
+try {
+ $result = $api_instance->instanceFeatureSetDelete();
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling FeatureSetApi->instanceFeatureSetDelete: ', $e->getMessage(), PHP_EOL;
+}
+?>
+
+
+
+ use Data::Dumper;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::FeatureSetApi;
+
+my $api_instance = SWGSDRangel::FeatureSetApi->new();
+
+eval {
+ my $result = $api_instance->instanceFeatureSetDelete();
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling FeatureSetApi->instanceFeatureSetDelete: $@\n";
+}
+
+
+ from __future__ import print_statement
+import time
+import swagger_sdrangel
+from swagger_sdrangel.rest import ApiException
+from pprint import pprint
+
+# create an instance of the API class
+api_instance = swagger_sdrangel.FeatureSetApi()
+
+try:
+ api_response = api_instance.instance_feature_set_delete()
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling FeatureSetApi->instanceFeatureSetDelete: %s\n" % e)
+ Parameters
+ + + + + + +Responses
+Status: 202 - Message to remove last feature set was sent successfully
+ + + +
+
+
+
+
+
+
+
+
+ Status: 404 - No more feature sets to be deleted
+ + + +
+
+
+
+
+
+
+
+
+ Status: 500 - Error
+ + + +
+
+
+
+
+
+
+
+
+ Status: 501 - Function not implemented
+ + + +
+
+
+
+
+
+
+
+
+