All Products
Search
Document Center

Object Storage Service:delete-public-access-block

Last Updated:Mar 19, 2026

Deletes the Block Public Access configurations of Object Storage Service (OSS) resources at the user level.

Permissions

By default, an Alibaba Cloud account has permission to run this command. To run this command as a RAM user or with Security Token Service (STS), grant the oss:DeletePublicAccessBlock permission. For details, see Attach a custom policy to a RAM user.

Syntax

ossutil api delete-public-access-block [flags]
This command maps to the DeletePublicAccessBlock API operation. For supported global flags, see Command-line options.

Example

Delete Block Public Access configurations at the user level:

ossutil api delete-public-access-block

What's next