The delete-access-point-public-access-block command is used to delete the Block Public Access configurations of an access point.
Usage notes
By default, an Alibaba Cloud account has the permission to delete the Block Public Access configurations of an access point. Deleting the configurations as a RAM user or by using Security Token Service (STS) requires oss:DeleteAccessPointPublicAccessBlock permission. For more information, see Attach a custom policy to a RAM user.
Command syntax
ossutil api delete-access-point-public-access-block [flags]Parameter | Type | Description |
--bucket | string | Name of the bucket. |
--access-point-name | string | Name of the access point. |
The delete-access-point-public-access-block command corresponds to the DeleteAccessPointPublicAccessBlock operation. For more information about the parameters within, see DeleteAccessPointPublicAccessBlock.
For more information about supported global command-line options, see Command-line options.
Example
Delete 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