delete_namespace
Delete a vSphere Namespace and everything inside it, with dry-run and confirmation safeguards. Blocks deletion while any Tanzu Kubernetes clusters exist—remove them first.
Instructions
[WRITE] Delete a vSphere Namespace and everything inside it.
Returns {namespace, status: "deleted"}, or a preview by default. SAFETY: refused while TKC clusters exist inside — run list_tkc_clusters to see them, then delete_tkc_cluster on each. A dry run unless you pass dry_run=False AND confirmed=True. Irreversible; prefer update_namespace to only change quotas.
Args: name: Namespace name to delete (discover via list_namespaces). confirmed: Must be True to proceed. dry_run: Preview only (default: True). target: vCenter in config.yaml; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| target | No | ||
| dry_run | No | ||
| confirmed | No |