Try it now and let us know what you think. Switch to the new look >>
You can return to the original look by selecting English in the language selector above.
DELETE Bucket analytics
Description
This implementation of the DELETE operation deletes an analytics configuration
(identified by the analytics configuration ID) from the bucket.
To use this operation, you must have permissions to perform the
s3:PutAnalyticsConfiguration action. The bucket owner has this
permission by default. The bucket owner can grant this permission to others. For
more
information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3
Resources in the Amazon Simple Storage Service Developer Guide.
For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class Analysis in the Amazon Simple Storage Service Developer Guide.
Requests
Syntax
DELETE /?analytics&id=analytics-configuration-IDHTTP/1.1 Host:bucketname.s3.amazonaws.com Date:dateAuthorization:authorization string(see Authenticating Requests (AWS Signature Version 4))
Request Parameters
This implementation of DELETE uses the parameter in the following
table.
| Parameter | Description | Required |
|---|---|---|
id |
The ID that identifies the analytics configuration. Type: String Default: None Valid Characters for |
Yes |
Request Headers
This implementation of the operation uses only request headers that are common to all operations. For more information, see Common Request Headers.
Request Elements
This implementation of the operation does not use request elements.
Responses
Response Headers
This implementation of the operation uses only response headers that are common to most responses. For more information, see Common Response Headers.
Examples
Sample Request
The following DELETE request deletes the analytics configuration with the ID
list1.
DELETE ?/analytics&id=list1 HTTP/1.1 Host: examplebucket.s3.amazonaws.com Date: Wed, 14 May 2014 02:11:22 GMT Authorization:signatureValue
Sample Response
The following successful response shows Amazon S3 returning a 204 No Content
response. The analytics configuration with the ID list1 for the bucket
has been removed.
HTTP/1.1 204 No Content x-amz-id-2: 0FmFIWsh/PpBuzZ0JFRC55ZGVmQW4SHJ7xVDqKwhEdJmf3q63RtrvH8ZuxW1Bol5 x-amz-request-id: 0CF038E9BCF63097 Date: Wed, 14 May 2014 02:11:22 GMT Server: AmazonS3


