Delete your access point for directory buckets - 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 your access point for directory buckets

This section explains how to delete your access point using the Amazon Web Services Management Console, Amazon Command Line Interface, REST API, or Amazon SDKs.

Note

Before you can delete a directory bucket attached to an access point, you must delete the access point.

To delete access points for directory buckets in your Amazon Web Services account
  1. Sign in to the Amazon Web Services Management Console and open the Amazon S3 console at https://console.amazonaws.cn/s3/.

  2. In the navigation bar on the top of the page, choose the name of the currently displayed Amazon Web Services Region. Next, choose the Region that you want to list access points for.

  3. In the navigation pane on the left side of the console, choose Access points for directory buckets.

  4. (Optional) Search for access points by name. Only access points in your selected Amazon Web Services Region will appear here.

  5. Choose the name of the access point you want to delete.

  6. Choose Delete.

  7. To confirm deletion, type confirm and choose Delete.

The following delete-access-point example command shows how you can use the Amazon CLI to delete your access point.

The following command deletes the access point my-access-point--zoneID--xa-s3 for Amazon Web Services account 111122223333.

aws s3control delete-access-point --name my-access-point--zoneID--xa-s3 --account-id 111122223333

For more information and examples, see delete-access-point in the Amazon CLI Command Reference.

You can use the REST API to delete your access point. For more information, see DeleteAccessPoint in the Amazon Simple Storage Service API Reference.

You can use the Amazon SDKs to delete your access points. For more information, see list of supported SDKs in the Amazon Simple Storage Service API Reference.