📣
TiDB Cloud Premium is now in public preview. Unlimited growth, instant elasticity, advanced security for enterprise workloads. Try it out →

ti db delete-db-cluster-branch



Deletes one branch from a Starter cluster. The command verifies that the parent cluster is Starter before reading or deleting the branch.

Syntax

ti db delete-db-cluster-branch --db-cluster-branch-id <string> --db-cluster-id <string> [--dry-run] [--help] [--version]

Options

  • --db-cluster-branch-id <string>: Starter DB cluster branch ID. [required]
  • --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.

For options shared by all commands, see Global options.

Examples

  • Delete a branch:

    # Delete only the selected branch from its parent Starter cluster. ti db delete-db-cluster-branch --db-cluster-id "<cluster-id>" --db-cluster-branch-id "<branch-id>"

Was this page helpful?