Delete Public Access Block
| s3control_delete_public_access_block | R Documentation |
This operation is not supported by directory buckets¶
Description¶
This operation is not supported by directory buckets.
Removes the PublicAccessBlock configuration for an Amazon Web Services
account. This operation might be restricted when the account is managed
by organization-level Block Public Access policies. You’ll get an Access
Denied (403) error when the account is managed by organization-level
Block Public Access policies. Organization-level policies override
account-level settings, preventing direct account-level modifications.
For more information, see Using Amazon S3 block public
access.
Related actions include:
-
get_public_access_block -
put_public_access_block
Usage¶
s3control_delete_public_access_block(AccountId)
Arguments¶
AccountId |
[required] The account ID for the Amazon Web Services account
whose |
Value¶
An empty list.
Request syntax¶
svc$delete_public_access_block(
AccountId = "string"
)