apiManagerClientSessionDeleteClientSessionIdGet
Deletes an existing Client Session
/api/Manager/ClientSession/Delete/{client_session_id}
Usage and SDK Samples
curl -X GET\
-H "Accept: text/plain,application/json,text/json,application/xml,text/xml"\
"//api/Manager/ClientSession/Delete/{client_session_id}"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ManagerApiApi;
import java.io.File;
import java.util.*;
public class ManagerApiApiExample {
public static void main(String[] args) {
ManagerApiApi apiInstance = new ManagerApiApi();
String clientSessionId = clientSessionId_example; // String | Identificador de la sesión de cliente
String aPIKey = aPIKey_example; // String | Manager API Key
try {
Message result = apiInstance.apiManagerClientSessionDeleteClientSessionIdGet(clientSessionId, aPIKey);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagerApiApi#apiManagerClientSessionDeleteClientSessionIdGet");
e.printStackTrace();
}
}
}
import io.swagger.client.api.ManagerApiApi;
public class ManagerApiApiExample {
public static void main(String[] args) {
ManagerApiApi apiInstance = new ManagerApiApi();
String clientSessionId = clientSessionId_example; // String | Identificador de la sesión de cliente
String aPIKey = aPIKey_example; // String | Manager API Key
try {
Message result = apiInstance.apiManagerClientSessionDeleteClientSessionIdGet(clientSessionId, aPIKey);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ManagerApiApi#apiManagerClientSessionDeleteClientSessionIdGet");
e.printStackTrace();
}
}
}
String *clientSessionId = clientSessionId_example; // Identificador de la sesión de cliente
String *aPIKey = aPIKey_example; // Manager API Key (optional)
ManagerApiApi *apiInstance = [[ManagerApiApi alloc] init];
// Deletes an existing Client Session
[apiInstance apiManagerClientSessionDeleteClientSessionIdGetWith:clientSessionId
aPIKey:aPIKey
completionHandler: ^(Message output, NSError* error) {
if (output) {
NSLog(@"%@", output);
}
if (error) {
NSLog(@"Error: %@", error);
}
}];
var LinkarRestApi230 = require('linkar_rest_api_230');
var api = new LinkarRestApi230.ManagerApiApi()
var clientSessionId = clientSessionId_example; // {{String}} Identificador de la sesión de cliente
var opts = {
'aPIKey': aPIKey_example // {{String}} Manager API Key
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.apiManagerClientSessionDeleteClientSessionIdGet(clientSessionId, opts, callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class apiManagerClientSessionDeleteClientSessionIdGetExample
{
public void main()
{
var apiInstance = new ManagerApiApi();
var clientSessionId = clientSessionId_example; // String | Identificador de la sesión de cliente
var aPIKey = aPIKey_example; // String | Manager API Key (optional)
try
{
// Deletes an existing Client Session
Message result = apiInstance.apiManagerClientSessionDeleteClientSessionIdGet(clientSessionId, aPIKey);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling ManagerApiApi.apiManagerClientSessionDeleteClientSessionIdGet: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiManagerApiApi();
$clientSessionId = clientSessionId_example; // String | Identificador de la sesión de cliente
$aPIKey = aPIKey_example; // String | Manager API Key
try {
$result = $api_instance->apiManagerClientSessionDeleteClientSessionIdGet($clientSessionId, $aPIKey);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ManagerApiApi->apiManagerClientSessionDeleteClientSessionIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ManagerApiApi;
my $api_instance = WWW::SwaggerClient::ManagerApiApi->new();
my $clientSessionId = clientSessionId_example; # String | Identificador de la sesión de cliente
my $aPIKey = aPIKey_example; # String | Manager API Key
eval {
my $result = $api_instance->apiManagerClientSessionDeleteClientSessionIdGet(clientSessionId => $clientSessionId, aPIKey => $aPIKey);
print Dumper($result);
};
if ($@) {
warn "Exception when calling ManagerApiApi->apiManagerClientSessionDeleteClientSessionIdGet: $@\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.ManagerApiApi()
clientSessionId = clientSessionId_example # String | Identificador de la sesión de cliente
aPIKey = aPIKey_example # String | Manager API Key (optional)
try:
# Deletes an existing Client Session
api_response = api_instance.api_manager_client_session_delete_client_session_id_get(clientSessionId, aPIKey=aPIKey)
pprint(api_response)
except ApiException as e:
print("Exception when calling ManagerApiApi->apiManagerClientSessionDeleteClientSessionIdGet: %s\n" % e)
Parameters
Name | Description |
---|---|
client_session_id* |
String
Identificador de la sesión de cliente
Required
|
Name | Description |
---|---|
APIKey |
String
Manager API Key
|