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 DeletePublicAccessBlock:
delete/{Bucket}#publicAccessBlock
Path parameters
Bucketstring required
The Amazon S3 bucket whose <code>PublicAccessBlock</code> configuration you want to delete.
Query parameters
publicAccessBlocktrue required
Headers
x-amz-expected-bucket-ownerstring
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request fails with the HTTP status code <code>403 Forbidden</code> (access denied).
Response
Success