compute
DELETE /v1/compute/clusters/{clusterId}
Delete a cluster and every machine in it.
ప్రమాణీకరణ
బీయర్ టోకెన్గా API కీని పంపండి. కీ తప్పనిసరిగా sites.delete అనుమతిని కలిగి ఉండాలి; అది లేని కీని 404 కాకుండా 403తో తిరస్కరిస్తారు.
ఈ ఎండ్పాయింట్ ఎలాంటి సంస్థ ఐడీని తీసుకోదు. మీ కీ ఇప్పటికే అది ఏ సంస్థకు చెందుతుందో గుర్తిస్తుంది మరియు ప్రతిస్పందన దానికే పరిమితం చేయబడుతుంది.
ప్రయత్నించండి
కోణీయ బ్రాకెట్లలో ఉన్న దేన్నైనా మీ స్వంత విలువలతో భర్తీ చేయండి, మరియు కీ ప్లేస్హోల్డర్ను మీ డాష్బోర్డ్ నుండి తీసుకున్న కీతో భర్తీ చేయండి.
curl -X DELETE https://api.zinndigital.com/v1/compute/clusters/{clusterId} \
-H "Authorization: Bearer zdk_live_…"సైన్ ఇన్ చేశారా? మీ డ్యాష్బోర్డ్లోని API కాన్సోల్ మీ అసలైన సంస్థ ID మరియు మీ స్వంత కీని నింపుతుంది, అలాగే మీరు అసలైన ప్రతిస్పందనను చూడటానికి లైవ్ API ద్వారా ఆభ్యర్థనను రన్ చేస్తుంది. ఈ ఎండ్పాయింట్ను API కన్సోల్లో తెరిచండి
వివరాలు
202. ⛔ Irreversible: every node is deleted with its disk, its floating IPs are released, its meter is settled, and the network and the cluster's keys are removed. Refused while the cluster is still being built. Requires sites.delete.
పారామీటర్లు
| పేరు | రకం | కావలసినది | ఇది ఏమిటి |
|---|---|---|---|
clusterId (path) | Uuid | అవును | The cluster's id, as listComputeClusters reports it. |
స్పందన
| పేరు | రకం | కావలసినది | ఇది ఏమిటి |
|---|---|---|---|
id | Uuid | అవును | UUIDv7 identifier — sortable by creation time (docs/02 §8). |
name | string | అవును | — |
deploy_target | string | అవును | — |
zone | string | అవును | — |
plan_code | string | అవును | — |
image | string | అవును | — |
worker_count | integer | అవును | — |
install_argocd | boolean | అవును | — |
deploy_sample_app | boolean | అవును | — |
status | string<pending, provisioning, bootstrapping, ready, failed, terminating, terminated> | అవును | — |
message | string | అవును | — |
kubernetes_version | string | అవును | — |
argocd_version | string | అవును | — |
ready_nodes | integer | అవును | — |
sample_app_health | string | అవును | Argo CD's sync/health for the sample application, e.g. Synced/Healthy. |
api_address | string | అవును | The Kubernetes API's public address (port 6443). |
network_id | string | అవును | — |
nodes | ComputeServer[] | అవును | — |
created_at | string | అవును | — |
ready_at | object | అవును | — |
ఈ ఎండ్పాయింట్ తిరిగి ఇవ్వగల లోపాలు
401 · 403 · 404 · 422 · 429 · 503