The delete-table-bucket command deletes a table bucket from OSS Tables.
Notes
Delete all namespaces and tables in the table bucket before running this command.
Deletion is irreversible. Once deleted, the table bucket and all its data cannot be recovered.
Command format
ossutil tables-api delete-table-bucket --table-bucket-arn value [flags]
|
Parameter |
Type |
Description |
|
--table-bucket-arn |
string |
The Alibaba Cloud Resource Name (ARN) of the table bucket. Format: |
The
delete-table-bucketcommand corresponds to theDeleteTableBucketAPI operation. For more information about the parameters of the API operation, see DeleteTableBucket.For more information about global command-line options, see Global command-line options.
Examples
-
Delete a table bucket named
my-table-bucketin the China (Hangzhou) region:ossutil tables-api delete-table-bucket --table-bucket-arn acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket -
Delete a table bucket named
test-table-bucketin the China (Shanghai) region:ossutil tables-api delete-table-bucket --table-bucket-arn acs:osstables:cn-shanghai:1234567890:bucket/test-table-bucket