All URIs are relative to https://infrahub-api.nexgencloud.com/v1
| Method | HTTP request | Description |
|---|---|---|
| checkIfOrgIsExcludedFromFloatingIPDetachment | GET /core/fip-detachment-exclusions/org/{org_id} |
ResponseModel checkIfOrgIsExcludedFromFloatingIPDetachment(orgId)
is org excluded from floating ip detachment
import HyperstackApi from '@nexgencloud/hyperstack-sdk-javascript';
let defaultClient = HyperstackApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
let apiInstance = new HyperstackApi.FIPExclusionsApi();
let orgId = 56; // Number |
apiInstance.checkIfOrgIsExcludedFromFloatingIPDetachment(orgId).then((data) => {
console.log('API called successfully. Returned data: ' + data);
}, (error) => {
console.error(error);
});| Name | Type | Description | Notes |
|---|---|---|---|
| orgId | Number |
- Content-Type: Not defined
- Accept: application/json