applicationsTenantNameAppNameDelete
Delete an individual application
/applications/{tenantName}/{appName}
Usage and SDK Samples
curl -X DELETE "/mgmt/shared/fast/applications/{tenantName}/{appName}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ApplicationManagementApi;
import java.io.File;
import java.util.*;
public class ApplicationManagementApiExample {
public static void main(String[] args) {
ApplicationManagementApi apiInstance = new ApplicationManagementApi();
String appName = appName_example; // String | The name of the app to retrieve
String tenantName = tenantName_example; // String | The tenant the app belongs to
try {
apiInstance.applicationsTenantNameAppNameDelete(appName, tenantName);
} catch (ApiException e) {
System.err.println("Exception when calling ApplicationManagementApi#applicationsTenantNameAppNameDelete");
e.printStackTrace();
}
}
}
import io.swagger.client.api.ApplicationManagementApi;
public class ApplicationManagementApiExample {
public static void main(String[] args) {
ApplicationManagementApi apiInstance = new ApplicationManagementApi();
String appName = appName_example; // String | The name of the app to retrieve
String tenantName = tenantName_example; // String | The tenant the app belongs to
try {
apiInstance.applicationsTenantNameAppNameDelete(appName, tenantName);
} catch (ApiException e) {
System.err.println("Exception when calling ApplicationManagementApi#applicationsTenantNameAppNameDelete");
e.printStackTrace();
}
}
}
String *appName = appName_example; // The name of the app to retrieve
String *tenantName = tenantName_example; // The tenant the app belongs to
ApplicationManagementApi *apiInstance = [[ApplicationManagementApi alloc] init];
// Delete an individual application
[apiInstance applicationsTenantNameAppNameDeleteWith:appName
tenantName:tenantName
completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
}];
var F5ApplicationServicesApi = require('f5_application_services_api');
var api = new F5ApplicationServicesApi.ApplicationManagementApi()
var appName = appName_example; // {{String}} The name of the app to retrieve
var tenantName = tenantName_example; // {{String}} The tenant the app belongs to
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.applicationsTenantNameAppNameDelete(appName, tenantName, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class applicationsTenantNameAppNameDeleteExample
{
public void main()
{
var apiInstance = new ApplicationManagementApi();
var appName = appName_example; // String | The name of the app to retrieve
var tenantName = tenantName_example; // String | The tenant the app belongs to
try
{
// Delete an individual application
apiInstance.applicationsTenantNameAppNameDelete(appName, tenantName);
}
catch (Exception e)
{
Debug.Print("Exception when calling ApplicationManagementApi.applicationsTenantNameAppNameDelete: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiApplicationManagementApi();
$appName = appName_example; // String | The name of the app to retrieve
$tenantName = tenantName_example; // String | The tenant the app belongs to
try {
$api_instance->applicationsTenantNameAppNameDelete($appName, $tenantName);
} catch (Exception $e) {
echo 'Exception when calling ApplicationManagementApi->applicationsTenantNameAppNameDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ApplicationManagementApi;
my $api_instance = WWW::SwaggerClient::ApplicationManagementApi->new();
my $appName = appName_example; # String | The name of the app to retrieve
my $tenantName = tenantName_example; # String | The tenant the app belongs to
eval {
$api_instance->applicationsTenantNameAppNameDelete(appName => $appName, tenantName => $tenantName);
};
if ($@) {
warn "Exception when calling ApplicationManagementApi->applicationsTenantNameAppNameDelete: $@\n";
}
from __future__ import print_statement
import time
import swagger_client
from swagger_client.rest import ApiException
from pprint import pprint
# create an instance of the API class
api_instance = swagger_client.ApplicationManagementApi()
appName = appName_example # String | The name of the app to retrieve
tenantName = tenantName_example # String | The tenant the app belongs to
try:
# Delete an individual application
api_instance.applications_tenant_name_app_name_delete(appName, tenantName)
except ApiException as e:
print("Exception when calling ApplicationManagementApi->applicationsTenantNameAppNameDelete: %s\n" % e)
Parameters
Name | Description |
---|---|
appName* |
String
The name of the app to retrieve
Required
|
tenantName* |
String
The tenant the app belongs to
Required
|