delete-public-access-block

Updated at:

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 Grant a custom policy.

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