Delete a managed node pool
import requests
url = "https://platform.ankra.app/org/clusters/managed/{provider}/{cluster_id}/node-pools/{node_pool_name}"
headers = {
"cookie": "ankra_session=",
"X-Ankra-CSRF": "<x-ankra-csrf>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {cookie: 'ankra_session=', 'X-Ankra-CSRF': '<x-ankra-csrf>'}
};
fetch('https://platform.ankra.app/org/clusters/managed/{provider}/{cluster_id}/node-pools/{node_pool_name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/org/clusters/managed/{provider}/{cluster_id}/node-pools/{node_pool_name} \
--header 'X-Ankra-CSRF: <x-ankra-csrf>' \
--cookie ankra_session={
"autohealing": true,
"autoscaling_enabled": true,
"autoscaling_max": 123,
"autoscaling_min": 123,
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"count": 123,
"node_pool_name": "<string>",
"upgrade_policy": "<string>"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Managed Clusters
Delete a managed node pool
Browser session authentication; RBAC permission clusters.write. For Kapsule, provider_cluster_id is the opaque region-qualified regions/{region}/clusters/{id} reference. CNI is immutable. Imported/unknown provenance is disconnect-only; provider deletion is allowed by default only for created clusters.
DELETE
/
org
/
clusters
/
managed
/
{provider}
/
{cluster_id}
/
node-pools
/
{node_pool_name}
Delete a managed node pool
import requests
url = "https://platform.ankra.app/org/clusters/managed/{provider}/{cluster_id}/node-pools/{node_pool_name}"
headers = {
"cookie": "ankra_session=",
"X-Ankra-CSRF": "<x-ankra-csrf>"
}
response = requests.delete(url, headers=headers)
print(response.text)const options = {
method: 'DELETE',
headers: {cookie: 'ankra_session=', 'X-Ankra-CSRF': '<x-ankra-csrf>'}
};
fetch('https://platform.ankra.app/org/clusters/managed/{provider}/{cluster_id}/node-pools/{node_pool_name}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request DELETE \
--url https://platform.ankra.app/org/clusters/managed/{provider}/{cluster_id}/node-pools/{node_pool_name} \
--header 'X-Ankra-CSRF: <x-ankra-csrf>' \
--cookie ankra_session={
"autohealing": true,
"autoscaling_enabled": true,
"autoscaling_max": 123,
"autoscaling_min": 123,
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"count": 123,
"node_pool_name": "<string>",
"upgrade_policy": "<string>"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}{
"detail": "Cluster not found"
}Authorizations
Browser session. Mutations also require X-Ankra-CSRF.
Headers
Must match the ankra_csrf browser cookie.
Path Parameters
Available options:
doks, uks, gke, ovh_mks, aks, eks, kapsule Example:
"kapsule"
Response
Successful response