v8

latestOpenAPI 3.0.0Apache 2.0raw.githubusercontent.com2025-10-165266542.4 MB
DigitalOcean-public.v2-new_Kubernetes

Delete a Cluster and All of its Associated Resources (Dangerous)

To delete a Kubernetes cluster with all of its associated resources, send a DELETE request to /v2/kubernetes/clusters/$K8S_CLUSTER_ID/destroy_with_associated_resources/dangerous. A 204 status code with no body will be returned in response to a successful request.

delete/v2/kubernetes/clusters/{cluster_id}/destroy_with_associated_resources/dangerous

Path parameters

cluster_idstring uuid required

A unique ID that can be used to reference a Kubernetes cluster.

Response

The action was successful and the response body is empty.