| Did this page help you? Yes No Tell us about it... |
To delete a policy associated with a bucket, use the DELETE Bucket
operation with the policy sub-resource. The following request
deletes the bucket policy associated with mybucket:
DELETE /?policy HTTP/1.1 Host: mybucket.s3.amazonaws.com Date: Tue, 04 Apr 2010 20:34:56 GMT Authorization: AWS AKIAIOSFODNN7EXAMPLE:VGhpcyBSAMPLEeSBlbHZpbmc=
To use the delete operation, you must have DeletePolicy permissions on the specified bucket and
be the bucket owner. The bucket owner by default has permissions to delete bucket
policies.
For more information, go to DELETE Bucket policy in the Amazon S3 API Reference.