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
-
Sign in to the Amazon Web Services Management Console and open the Amazon S3 console at https://console.amazonaws.cn/s3/
. -
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.
-
In the navigation pane on the left side of the console, choose Access points for directory buckets.
-
(Optional) Search for access points by name. Only access points in your selected Amazon Web Services Region will appear here.
-
Choose the name of the access point you want to delete.
-
Choose Delete.
-
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-id111122223333
For more information and examples, see delete-access-point
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.