pydo.kubernetes.destroy_associated_resources_dangerous()

Generated on 8 May 2026 from pydo version v0.34.0

Usage

client.kubernetes.destroy_associated_resources_dangerous(
    cluster_id="bd5f5959-5e1e-4205-a714-a914373942af",
)
Returns NoneRaises HttpResponseError

Description

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

Parameters

cluster_id string required

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

Min: 1

Request Sample

Show Request Sample
import os
from pydo import Client

client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))

resp = client.kubernetes.destroy_associated_resources_dangerous(cluster_id="da8fda8")

More Information

See /v2/kubernetes/clusters/{cluster_id}/destroy_with_associated_resources/dangerous in the API reference for additional detail on responses, headers, parameters, and more.

We can't find any results for your search.

Try using different keywords or simplifying your search terms.