Example: DELETE bucket request (CORS)

The following DELETE bucket request deletes a CORS subresource from a bucket (namespace) named finance.

Note: Each S3 compatible request must be authenticated by the S3 gateway. You do this by using the HTTP Authorization request header with either a signature string, an AWS Version 2 or Version 4 authentication string, or by anonymous access. For more information, see Authentication.

Request headers

DELETE /?cors HTTP/1.1
Host:finance.europe.hcp.example.com
Date: Tue, 14 May 2019 19:14:42 GMT
Authorization: SignatureString

Response headers

HTTP/1.1 204 No Content
Date: Tue, 14 May 2019 19:14:42 GMT
Server: HCP
Content-Length: 0

© 2015, 2020 Hitachi Vantara LLC. All rights reserved.