TypeScript
const options = {method: 'DELETE'}; fetch('https://api.example.com/v1/regions/{region}/compute/clusters/{clusterId}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
{ "success": true, "data": { "id": "<string>", "status": "deleting" } }
Delete a Kubernetes cluster
Region identifier
Cluster identifier
Cluster deletion initiated
true
Show child attributes
Was this page helpful?