All Products
Search
Document Center

Object Storage Service:delete-access-point-public-access-block

Last Updated:Jun 22, 2026

Deletes the Block Public Access configurations of a specified access point.

Usage notes

An Alibaba Cloud account has this permission by default. To perform this operation as a RAM user or by using Security Token Service (STS), you must have the oss:DeleteAccessPointPublicAccessBlock permission. For more information, see Grant a custom policy.

Command syntax

ossutil api delete-access-point-public-access-block [flags]

Parameter

Type

Description

--bucket

string

The name of the bucket.

--access-point-name

string

The name of the access point.

Note

Example

The following example deletes the Block Public Access configurations of an access point named ap-01 of examplebucket.

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