ti fs delete-file-system
Starts deleting a Filesystem. Deletion runs asynchronously after the command returns. You must specify --file-system-id; display names, labels, and Filesystem tokens cannot identify a Filesystem for deletion. This command requires TiDB Cloud API credentials.
Syntax
ti fs delete-file-system
--file-system-id <string>
[--dry-run]
[--help]
[--version]
Options
--file-system-id <string>: Set the immutable Filesystem ID. FS tokens cannot replace this option or authorize Filesystem deletion. [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 Filesystem:
# Request asynchronous deletion and remove only the matching local credential after acceptance. ti fs delete-file-system --file-system-id <file-system-id>Preview Filesystem deletion:
# Validate the selected Filesystem without sending the deletion request. ti fs delete-file-system --file-system-id <file-system-id> --dry-run