All Products
Search
Document Center

Object Storage Service:delete-access-point

Last Updated:Mar 20, 2026

Deletes an access point associated with an OSS bucket.

Usage notes

Alibaba Cloud accounts have permission to delete access points by default. RAM users and Security Token Service (STS) credentials require the oss:DeleteAccessPoint permission. For details, see Attach a custom policy to a RAM user.

Syntax

ossutil api delete-access-point --bucket value --access-point-name value [flags]
ParameterTypeDescription
--bucketstringName of the bucket
--access-point-namestringName of the access point
Note

This command maps to the DeleteAccessPoint API operation. For supported global flags, see Command-line options.

Example

The following example deletes the access point ap-01 from examplebucket. Before running this command, replace the bucket name and access point name with your own values.

ossutil api delete-access-point --bucket examplebucket --access-point-name ap-01