import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
await latitudesh.elasticIps.deleteElasticIp({
elasticIpId: "<id>",
});
}
run();{
"errors": [
{
"code": "FEATURE_NOT_ENABLED",
"message": "Elastic IPs is not enabled for this team"
}
]
}Releases an Elastic IP, returning it to the available pool. The IP will transition to releasing status before being fully removed.
Note: This feature requires the elastic_ips feature flag to be enabled for your team. Only Elastic IPs with status active or error can be released.
import { Latitudesh } from "latitudesh-typescript-sdk";
const latitudesh = new Latitudesh({
bearer: process.env["LATITUDESH_BEARER"] ?? "",
});
async function run() {
await latitudesh.elasticIps.deleteElasticIp({
elasticIpId: "<id>",
});
}
run();{
"errors": [
{
"code": "FEATURE_NOT_ENABLED",
"message": "Elastic IPs is not enabled for this team"
}
]
}Was this page helpful?