Delete a namespace - Amazon Simple Storage Service
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

Delete a namespace

Before you delete a table namespace from an Amazon S3 table bucket, you must delete all tables within the namespace, or move them under another namespace. You can delete a namespace by using the Amazon S3 REST API, Amazon SDKs, Amazon Command Line Interface (Amazon CLI), or integrated query engines.

For information about the permissions required to delete a namespace, see DeleteNamespace in the Amazon Simple Storage Service API Reference.

This example shows you how to delete a table namespace by using the Amazon CLI. To use this example, replace the user input placeholders with your own information.

aws s3tables delete-namespace \ --table-bucket-arn arn:aws-cn:s3tables:us-east-1:111122223333:bucket/amzn-s3-demo-bucket1 \ --namespace example_namespace