-
DELETE /api/marketplace-resources/<resource_uuid>/
- Delete an existing Kubernetes cluster.This endpoint permanently deletes the specified Kubernetes cluster and all its associated resources. Warning: This action is irreversible, so exercise caution! You'll need the
resource_uuid
of the Kubernetes cluster, which you can obtain from the "List Kubernetes Cluster Resources" endpoint (6.2.2).Notes:
- Warning: All data and applications within the Kubernetes cluster will be permanently deleted. Ensure you have backups if needed.
- Deleting a Kubernetes cluster may disrupt services or applications that rely on it.
Request Example:
DELETE [https://api.wayscloud.services/api/marketplace-resources/kubernetes_cluster_resource_uuid/](https://api.wayscloud.services/api/marketplace-resources/kubernetes_cluster_resource_uuid/)
Authorization: Token <your_api_token>Status Codes:
- 204 No Content: The Kubernetes cluster was successfully deleted.
- 401 Unauthorized: The user making the request is not authorized.
-
404 Not Found: The specified Kubernetes cluster
resource_uuid
does not exist. - 409 Conflict: The Kubernetes cluster cannot be deleted due to its current state (e.g., deleting while the cluster is still provisioning).