ti db delete-db-cluster
Deletes one Starter cluster. --wait waits until deletion is observable. The command verifies the service plan before sending the delete request and rejects non-Starter or unverifiable clusters without sending DELETE.
Syntax
ti db delete-db-cluster
--db-cluster-id <string>
[--dry-run]
[--help]
[--version]
[--wait]
Options
--db-cluster-id <string>: Starter DB cluster ID. [required]--dry-run: Validate the request without applying changes.--help: Display help information.--version: Display version information.--wait: Wait until the deleted cluster reachesDELETEDor is no longer accessible.
For options shared by all commands, see Global options.
Examples
Delete a cluster and wait for completion:
# Wait until TiDB Cloud reports the cluster deleted or no longer accessible. ti db delete-db-cluster --db-cluster-id "<cluster-id>" --waitDelete a cluster asynchronously:
# Return after TiDB Cloud accepts deletion while cleanup continues remotely. ti db delete-db-cluster --db-cluster-id "<cluster-id>"