from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
latitudesh.elastic_ips.delete_elastic_ip(elastic_ip_id="<id>")
# Use the SDK ...{
"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.
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
latitudesh.elastic_ips.delete_elastic_ip(elastic_ip_id="<id>")
# Use the SDK ...{
"errors": [
{
"code": "FEATURE_NOT_ENABLED",
"message": "Elastic IPs is not enabled for this team"
}
]
}Documentation Index
Fetch the complete documentation index at: https://www.latitude.sh/docs/llms.txt
Use this file to discover all available pages before exploring further.
Was this page helpful?