Example: DELETE bucket request

Content Platform Tenant Management Help

Version
9.7.x
File Size
4269 KB
Audience
anonymous
Part Number
MK-95HCPH002-19

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.

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