Delete a table bucket

更新时间:
复制 MD 格式

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: acs:osstables:{region}:{accountId}:bucket/{name}.

Note
  • The delete-table-bucket command corresponds to the DeleteTableBucket API 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-bucket in 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-bucket in the China (Shanghai) region:

    ossutil tables-api delete-table-bucket --table-bucket-arn acs:osstables:cn-shanghai:1234567890:bucket/test-table-bucket