DeletePublicAccessBlock - Amazon Simple Storage Service


Removes the PublicAccessBlock configuration for an Amazon S3 bucket. To use this operation, you must have the s3:PutBucketPublicAccessBlock permission. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.

The following operations are related to DeleteBucketMetricsConfiguration:

Request Syntax

DELETE /?publicAccessBlock HTTP/1.1 Host:

URI Request Parameters

The request requires the following URI parameters.


The Amazon S3 bucket whose PublicAccessBlock configuration you want to delete.

Request Body

The request does not have a request body.

Response Syntax

HTTP/1.1 204

Response Elements

If the action is successful, the service sends back an HTTP 204 response with an empty HTTP body.

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: