|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
This operation removes the website configuration for a bucket. Amazon S3 returns a
OK response upon successfully deleting a website configuration on the
specified bucket. You will get a
200 OK response if the website
configuration you are trying to delete does not exist on the bucket. Amazon S3 returns a
404 response if the bucket specified in the request does not exist.
DELETE operation requires the
permission. By default, only the bucket owner can delete the
website configuration attached to a bucket. However, bucket
owners can grant other users permission to delete the
configuration by writing a bucket policy granting them the
For more information about hosting websites, go to Hosting Websites on Amazon S3 in the Amazon Simple Storage Service Developer Guide .
DELETE /?website HTTP/1.1 Host:
authorization string(see Authenticating Requests (AWS Signature Version 4))
This implementation of the operation does not use request parameters.
This implementation of the operation uses only request headers that are common to all operations. For more information, see Common Request Headers.
This operation does not use request elements.
This implementation of the operation uses only response headers that are common to most responses. For more information, see Common Response Headers.
This implementation of the operation does not return response elements.
This request deletes the website configuration on the specified bucket.
DELETE ?website HTTP/1.1 Host: example-bucket.s3.amazonaws.com Date: Thu, 27 Jan 2011 12:00:00 GMT Authorization:
HTTP/1.1 204 No Content x-amz-id-2: aws-s3integ-s3ws-31008.sea31.amazon.com x-amz-request-id: AF1DD829D3B49707 Date: Thu, 03 Feb 2011 22:10:26 GMT Server: AmazonS3