from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
latitudesh.kubernetes_clusters.delete_kubernetes_cluster(kubernetes_cluster_id="<id>")
# Use the SDK ...{
"errors": [
{
"code": "UNAUTHORIZED",
"message": "Invalid token"
}
]
}Deletes a Kubernetes cluster. This action is irreversible and will destroy all cluster resources.
from latitudesh_python_sdk import Latitudesh
import os
with Latitudesh(
bearer=os.getenv("LATITUDESH_BEARER", ""),
) as latitudesh:
latitudesh.kubernetes_clusters.delete_kubernetes_cluster(kubernetes_cluster_id="<id>")
# Use the SDK ...{
"errors": [
{
"code": "UNAUTHORIZED",
"message": "Invalid token"
}
]
}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?