onboardedInvokersOnboardingIdDelete
Deletes an individual API Invoker.
/onboardedInvokers/{onboardingId}
Usage and SDK Samples
curl -X DELETE \
-H "Accept: application/problem+json" \
"https://example.com/api-invoker-management/v1/onboardedInvokers/{onboardingId}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
// Create an instance of the API class
DefaultApi apiInstance = new DefaultApi();
String onboardingId = onboardingId_example; // String | String identifying an individual on-boarded API invoker resource
try {
apiInstance.onboardedInvokersOnboardingIdDelete(onboardingId);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#onboardedInvokersOnboardingIdDelete");
e.printStackTrace();
}
}
}
import 'package:openapi/api.dart';
final api_instance = DefaultApi();
final String onboardingId = new String(); // String | String identifying an individual on-boarded API invoker resource
try {
final result = await api_instance.onboardedInvokersOnboardingIdDelete(onboardingId);
print(result);
} catch (e) {
print('Exception when calling DefaultApi->onboardedInvokersOnboardingIdDelete: $e\n');
}
import org.openapitools.client.api.DefaultApi;
public class DefaultApiExample {
public static void main(String[] args) {
DefaultApi apiInstance = new DefaultApi();
String onboardingId = onboardingId_example; // String | String identifying an individual on-boarded API invoker resource
try {
apiInstance.onboardedInvokersOnboardingIdDelete(onboardingId);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#onboardedInvokersOnboardingIdDelete");
e.printStackTrace();
}
}
}
// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *onboardingId = onboardingId_example; // String identifying an individual on-boarded API invoker resource (default to null)
[apiInstance onboardedInvokersOnboardingIdDeleteWith:onboardingId
completionHandler: ^(NSError* error) {
if (error) {
NSLog(@"Error: %@", error);
}
}];
var CapifApiInvokerManagementApi = require('capif_api_invoker_management_api');
// Create an instance of the API class
var api = new CapifApiInvokerManagementApi.DefaultApi()
var onboardingId = onboardingId_example; // {String} String identifying an individual on-boarded API invoker resource
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.onboardedInvokersOnboardingIdDelete(onboardingId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;
namespace Example
{
public class onboardedInvokersOnboardingIdDeleteExample
{
public void main()
{
// Create an instance of the API class
var apiInstance = new DefaultApi();
var onboardingId = onboardingId_example; // String | String identifying an individual on-boarded API invoker resource (default to null)
try {
apiInstance.onboardedInvokersOnboardingIdDelete(onboardingId);
} catch (Exception e) {
Debug.Print("Exception when calling DefaultApi.onboardedInvokersOnboardingIdDelete: " + e.Message );
}
}
}
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$onboardingId = onboardingId_example; // String | String identifying an individual on-boarded API invoker resource
try {
$api_instance->onboardedInvokersOnboardingIdDelete($onboardingId);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->onboardedInvokersOnboardingIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;
# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $onboardingId = onboardingId_example; # String | String identifying an individual on-boarded API invoker resource
eval {
$api_instance->onboardedInvokersOnboardingIdDelete(onboardingId => $onboardingId);
};
if ($@) {
warn "Exception when calling DefaultApi->onboardedInvokersOnboardingIdDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint
# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
onboardingId = onboardingId_example # String | String identifying an individual on-boarded API invoker resource (default to null)
try:
api_instance.onboarded_invokers_onboarding_id_delete(onboardingId)
except ApiException as e:
print("Exception when calling DefaultApi->onboardedInvokersOnboardingIdDelete: %s\n" % e)
extern crate DefaultApi;
pub fn main() {
let onboardingId = onboardingId_example; // String
let mut context = DefaultApi::Context::default();
let result = client.onboardedInvokersOnboardingIdDelete(onboardingId, &context).wait();
println!("{:?}", result);
}
Scopes
Parameters
Name | Description |
---|---|
onboardingId* |
String
String identifying an individual on-boarded API invoker resource
Required
|
Responses
Status: 204 - The individual API Invoker matching onboardingId was offboarded.
Status: 307 - Temporary Redirect
Name | Type | Format | Description |
---|---|---|---|
Location | String | An alternative URI of the resource. |
Status: 308 - Permanent Redirect
Name | Type | Format | Description |
---|---|---|---|
Location | String | An alternative URI of the resource. |
Status: 400 - Bad request
Represents additional information and details on an error response.
Description of invalid parameters, for a request rejected due to invalid parameters.
A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of "0" to "9", "a" to "f" or "A" to "F" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported.
Status: 401 - Unauthorized
Represents additional information and details on an error response.
Description of invalid parameters, for a request rejected due to invalid parameters.
A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of "0" to "9", "a" to "f" or "A" to "F" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported.
Status: 403 - Forbidden
Represents additional information and details on an error response.
Description of invalid parameters, for a request rejected due to invalid parameters.
A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of "0" to "9", "a" to "f" or "A" to "F" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported.
Status: 404 - Not Found
Represents additional information and details on an error response.
Description of invalid parameters, for a request rejected due to invalid parameters.
A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of "0" to "9", "a" to "f" or "A" to "F" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported.
Status: 429 - Too Many Requests
Represents additional information and details on an error response.
Description of invalid parameters, for a request rejected due to invalid parameters.
A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of "0" to "9", "a" to "f" or "A" to "F" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported.
Status: 500 - Internal Server Error
Represents additional information and details on an error response.
Description of invalid parameters, for a request rejected due to invalid parameters.
A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of "0" to "9", "a" to "f" or "A" to "F" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported.
Status: 503 - Service Unavailable
Represents additional information and details on an error response.
Description of invalid parameters, for a request rejected due to invalid parameters.
A string used to indicate the features supported by an API that is used as defined in clause 6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in hexadecimal representation Each character in the string shall take a value of "0" to "9", "a" to "f" or "A" to "F" and shall represent the support of 4 features as described in table 5.2.2-3. The most significant character representing the highest-numbered features shall appear first in the string, and the character representing features 1 to 4 shall appear last in the string. The list of features and their numbering (starting with 1) are defined separately for each API. If the string contains a lower number of characters than there are defined features for an API, all features that would be represented by characters that are not present in the string are not supported.