Kubernetes

Delete Kubernetes cluster

Changed on

Delete a cluster and all its infrastructure (nodes, networking, reserved IPs, DNS). Deletion is asynchronous.

If teardown cannot be completed, the cluster remains visible with status delete_failed and nothing is removed — repeat the delete to retry.

delete/api/v1/k8s/clusters/{cluster_id}

Request

  • Base URL
    https://api.rafftechnologies.com
  • URL
    https://api.rafftechnologies.com/api/v1/k8s/clusters/{cluster_id}
  • Auth
    API key in header X-API-Key

Path parameters

cluster_idstring required

Cluster ID (short id, e.g. q7z7zg)

Headers

X-Project-IDstring uuid required

Project ID. Required for all mutating operations (create, delete, power actions, resize).

Response

Deletion started

successboolean
messagestring

Example response

{
  "success": true,
  "message": "Operation completed successfully"
}

Changes