Skip to main content
DELETE
/
kubernetes_clusters
/
{kubernetes_cluster_id}
Typescript (SDK)
import { Latitudesh } from "latitudesh-typescript-sdk";

const latitudesh = new Latitudesh({
  bearer: process.env["LATITUDESH_BEARER"] ?? "",
});

async function run() {
  await latitudesh.kubernetesClusters.deleteKubernetesCluster({
    kubernetesClusterId: "<id>",
  });


}

run();
{
  "errors": [
    {
      "code": "UNAUTHORIZED",
      "message": "Invalid token"
    }
  ]
}

Authorizations

Authorization
string
header
required

Path Parameters

kubernetes_cluster_id
string
required

The cluster ID (format: kc_) or cluster name. Both formats are accepted for backward compatibility.

Response

No Content