instanceFeaturePresetDelete
+ +Deletes a feature preset
+ ++
/sdrangel/featurepreset
+ +
Usage and SDK Samples
+ + + +curl -X DELETE "http://localhost/sdrangel/featurepreset"
+ import SWGSDRangel.*;
+import SWGSDRangel.auth.*;
+import SWGSDRangel.model.*;
+import SWGSDRangel.api.InstanceApi;
+
+import java.io.File;
+import java.util.*;
+
+public class InstanceApiExample {
+
+ public static void main(String[] args) {
+
+ InstanceApi apiInstance = new InstanceApi();
+ FeaturePresetIdentifier body = ; // FeaturePresetIdentifier | delete this feature preset
+ try {
+ FeaturePresetIdentifier result = apiInstance.instanceFeaturePresetDelete(body);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceApi#instanceFeaturePresetDelete");
+ e.printStackTrace();
+ }
+ }
+}
+ import SWGSDRangel.api.InstanceApi;
+
+public class InstanceApiExample {
+
+ public static void main(String[] args) {
+ InstanceApi apiInstance = new InstanceApi();
+ FeaturePresetIdentifier body = ; // FeaturePresetIdentifier | delete this feature preset
+ try {
+ FeaturePresetIdentifier result = apiInstance.instanceFeaturePresetDelete(body);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling InstanceApi#instanceFeaturePresetDelete");
+ e.printStackTrace();
+ }
+ }
+}
+ FeaturePresetIdentifier *body = ; // delete this feature preset
+
+InstanceApi *apiInstance = [[InstanceApi alloc] init];
+
+[apiInstance instanceFeaturePresetDeleteWith:body
+ completionHandler: ^(FeaturePresetIdentifier output, NSError* error) {
+ if (output) {
+ NSLog(@"%@", output);
+ }
+ if (error) {
+ NSLog(@"Error: %@", error);
+ }
+ }];
+
+ var SdRangel = require('sd_rangel');
+
+var api = new SdRangel.InstanceApi()
+
+var body = ; // {FeaturePresetIdentifier} delete this feature preset
+
+
+var callback = function(error, data, response) {
+ if (error) {
+ console.error(error);
+ } else {
+ console.log('API called successfully. Returned data: ' + data);
+ }
+};
+api.instanceFeaturePresetDelete(body, callback);
+
+ using System;
+using System.Diagnostics;
+using SWGSDRangel.Api;
+using SWGSDRangel.Client;
+using SWGSDRangel.Model;
+
+namespace Example
+{
+ public class instanceFeaturePresetDeleteExample
+ {
+ public void main()
+ {
+
+ var apiInstance = new InstanceApi();
+ var body = new FeaturePresetIdentifier(); // FeaturePresetIdentifier | delete this feature preset
+
+ try
+ {
+ FeaturePresetIdentifier result = apiInstance.instanceFeaturePresetDelete(body);
+ Debug.WriteLine(result);
+ }
+ catch (Exception e)
+ {
+ Debug.Print("Exception when calling InstanceApi.instanceFeaturePresetDelete: " + e.Message );
+ }
+ }
+ }
+}
+
+ <?php
+require_once(__DIR__ . '/vendor/autoload.php');
+
+$api_instance = new Swagger\Client\Api\InstanceApi();
+$body = ; // FeaturePresetIdentifier | delete this feature preset
+
+try {
+ $result = $api_instance->instanceFeaturePresetDelete($body);
+ print_r($result);
+} catch (Exception $e) {
+ echo 'Exception when calling InstanceApi->instanceFeaturePresetDelete: ', $e->getMessage(), PHP_EOL;
+}
+?>
+ use Data::Dumper;
+use SWGSDRangel::Configuration;
+use SWGSDRangel::InstanceApi;
+
+my $api_instance = SWGSDRangel::InstanceApi->new();
+my $body = SWGSDRangel::Object::FeaturePresetIdentifier->new(); # FeaturePresetIdentifier | delete this feature preset
+
+eval {
+ my $result = $api_instance->instanceFeaturePresetDelete(body => $body);
+ print Dumper($result);
+};
+if ($@) {
+ warn "Exception when calling InstanceApi->instanceFeaturePresetDelete: $@\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.InstanceApi()
+body = # FeaturePresetIdentifier | delete this feature preset
+
+try:
+ api_response = api_instance.instance_feature_preset_delete(body)
+ pprint(api_response)
+except ApiException as e:
+ print("Exception when calling InstanceApi->instanceFeaturePresetDelete: %s\n" % e)
+ Parameters
+ + + +Name | +Description | +
---|---|
body * | ++ + + + + | +