ti db delete-db-cluster
Deletes a TiDB Cloud Starter instance. Use --wait to wait until deletion completes. This command only accepts TiDB Cloud Starter instances and rejects other cluster types.
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: After TiDB Cloud accepts the deletion request, poll until the instance reachesDELETED. A subsequentnot foundorpermission deniedresponse is also treated as completed deletion because the instance is no longer readable.
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>"