Deletes the Block Public Access configurations of a specified access point.
Usage notes
An Alibaba Cloud account has this permission by default. To perform this operation as a RAM user or by using Security Token Service (STS), you must have the oss:DeleteAccessPointPublicAccessBlock permission. For more information, see Grant a custom policy.
Command syntax
ossutil api delete-access-point-public-access-block [flags]
|
Parameter |
Type |
Description |
|
--bucket |
string |
The name of the bucket. |
|
--access-point-name |
string |
The name of the access point. |
-
This command corresponds to the DeleteAccessPointPublicAccessBlock operation. For more information about the parameters, see DeleteAccessPointPublicAccessBlock.
-
For more information about supported global command-line options, see Command-line options.
Example
The following example deletes 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