All Products
Search
Document Center

Object Storage Service:delete-public-access-block

Last Updated:Nov 12, 2024

The delete-public-access-block command is used to delete the Block Public Access configurations of Object Storage Service (OSS) resources on a user level.

Usage notes

By default, an Alibaba Cloud account has the permission to delete the Block Public Access configurations of OSS resources on a user level. Deleting the configurations as a RAM user or by using Security Token Service (STS) requires oss:DeletePublicAccessBlock permission. For more information, see Attach a custom policy to a RAM user.

Command format

ossutil api delete-public-access-block [flags]
Note
  • The delete-public-access-block command corresponds to the DeletePublicAccessBlock operation. For more information about the parameters within, see DeletePublicAccessBlock.

  • For more information about supported global command-line options, see Command-line options.

Example

Delete the Block Public Access configurations of OSS resources on a user level.

ossutil api delete-public-access-block