Skip to content

Delete Node Pool

DELETE
/tenant_clusters/{tenant_cluster_id}/node-pools/{node_pool_id}/
curl --request DELETE \
--url 'https://api.e2enetworks.com/myaccount/api/v1/gpu/tenant_clusters/{tenant_cluster_id}/node-pools/{node_pool_id}/?project_id=<PROJECT_ID>&location=<LOCATION>&apikey=<API_KEY>' \
--header 'Authorization: Bearer <API_TOKEN>'

Deletes a worker node pool and every node in it. The cluster must be ready or worker_joined, and the last worker pool of a cluster cannot be deleted. The pool shows deleting and its hourly billing stops at once; a committed pool’s term keeps running and nothing is refunded.

tenant_cluster_id
required
integer

Kubernetes cluster ID, as returned by List Kubernetes Clusters.

node_pool_id
required
integer

Worker node pool ID, from the cluster’s node_pools list.

project_id
required
integer

Project ID

active_iam
integer

Active IAM ID (To access contact person account) Find your Active IAM ID here

location
required
string
Allowed values: Delhi Chennai

Location

The pool is queued for deletion.

Media typeapplication/json
object
code
integer
data
object
node_pool_id
integer
name
string
errors
object
message
string

Example

{
"code": 200,
"data": {
"node_pool_id": 22,
"name": "app-workers-2"
},
"errors": {},
"message": "Node pool deletion queued successfully"
}