v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1464400333.8 KB

Creates or modifies the PublicAccessBlock configuration for an Amazon Web Services account. For this operation, users must have the s3:PutAccountPublicAccessBlock permission. For more information, see Using Amazon S3 block public access.

Related actions include:

put/v20180820/configuration/publicAccessBlock#x-amz-account-id

Headers

x-amz-account-idstring required

The account ID for the Amazon Web Services account whose <code>PublicAccessBlock</code> configuration you want to set.

Response

Success