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]
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