All Products
Search
Document Center

Object Storage Service:Delete a namespace

Last Updated:Jun 22, 2026

Deletes a specified namespace from a table bucket.

Usage notes

  • Delete all tables in a namespace before you delete the namespace. Otherwise, the operation fails.

  • This operation is irreversible. Make sure that the namespace and all its tables are no longer needed before you proceed.

Command format

ossutil tables-api delete-namespace --table-bucket-arn value --namespace value [flags]

Parameter

Type

Description

--namespace

string

The name of the namespace to delete.

--table-bucket-arn

string

The ARN of the table bucket. The format is acs:osstables:{region}:{uid}:bucket/{bucket-name}.

Note
  • The delete-namespace command calls the DeleteNamespace API operation. For more information, see DeleteNamespace.

  • For the supported global command-line options, see ossutil global options.

Examples

Delete a namespace named my_namespace from a table bucket.

ossutil tables-api delete-namespace --table-bucket-arn acs:osstables:cn-hangzhou:1234567890:bucket/my-table-bucket --namespace my_namespace