v8

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

Delete a Node Pool in a Kubernetes Cluster

To delete a node pool, send a DELETE request to /v2/kubernetes/clusters/$K8S_CLUSTER_ID/node_pools/$NODE_POOL_ID.

A 204 status code with no body will be returned in response to a successful request. Nodes in the pool will subsequently be drained and deleted.

delete/v2/kubernetes/clusters/{cluster_id}/node_pools/{node_pool_id}

Path parameters

cluster_idstring uuid required

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

node_pool_idstring uuid required

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

Response

The action was successful and the response body is empty.