deleteApiKeyCustomer
Eliminar la apiKey relacionada con el usuario que realiza la petición.
/apikey/token
Usage and SDK Samples
curl -X DELETE\
-H "Authorization: Bearer [[accessToken]]"\
-H "Accept: application/json"\
"https://{env}.nsign.tv/apikey/token"
import io.swagger.client.*;
import io.swagger.client.auth.*;
import io.swagger.client.model.*;
import io.swagger.client.api.ApiKeyApi;
import java.io.File;
import java.util.*;
public class ApiKeyApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
ApiKeyApi apiInstance = new ApiKeyApi();
try {
apiInstance.deleteApiKeyCustomer();
} catch (ApiException e) {
System.err.println("Exception when calling ApiKeyApi#deleteApiKeyCustomer");
e.printStackTrace();
}
}
}
import io.swagger.client.api.ApiKeyApi;
public class ApiKeyApiExample {
public static void main(String[] args) {
ApiKeyApi apiInstance = new ApiKeyApi();
try {
apiInstance.deleteApiKeyCustomer();
} catch (ApiException e) {
System.err.println("Exception when calling ApiKeyApi#deleteApiKeyCustomer");
e.printStackTrace();
}
}
}
Configuration *apiConfig = [Configuration sharedConfig];
ApiKeyApi *apiInstance = [[ApiKeyApi alloc] init];
[apiInstance deleteApiKeyCustomerWithCompletionHandler:
^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
}];
var ApiPlataformaNsign = require('api___plataforma_nsign');
var defaultClient = ApiPlataformaNsign.ApiClient.instance;
var api = new ApiPlataformaNsign.ApiKeyApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.deleteApiKeyCustomer(callback);
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class deleteApiKeyCustomerExample
{
public void main()
{
var apiInstance = new ApiKeyApi();
try
{
apiInstance.deleteApiKeyCustomer();
}
catch (Exception e)
{
Debug.Print("Exception when calling ApiKeyApi.deleteApiKeyCustomer: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$api_instance = new Swagger\Client\ApiApiKeyApi();
try {
$api_instance->deleteApiKeyCustomer();
} catch (Exception $e) {
echo 'Exception when calling ApiKeyApi->deleteApiKeyCustomer: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::SwaggerClient::Configuration;
use WWW::SwaggerClient::ApiKeyApi;
my $api_instance = WWW::SwaggerClient::ApiKeyApi->new();
eval {
$api_instance->deleteApiKeyCustomer();
};
if ($@) {
warn "Exception when calling ApiKeyApi->deleteApiKeyCustomer: $@\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.ApiKeyApi()
try:
api_instance.delete_api_key_customer()
except ApiException as e:
print("Exception when calling ApiKeyApi->deleteApiKeyCustomer: %s\n" % e)