HCP Tenant Management Help


Example 2: Deleting a folder

Here’s a sample DELETE request that deletes a folder named hum_res/budget_proposals from the finance bucket. The request is being made while versioning is disabled for the bucket.

Request with s3curl command line

./s3curl.pl --id=lgreen --delete -- -k
     "https://finance.europe.hcp.example.com/hum_res/budget_proposals/"

Request headers

DELETE /hum_res/budget_proposals/ HTTP/1.1
Host: finance.europe.hcp.example.com
Date: Fri, 10 May 2019 17:19:26 +0000
Authorization: AWS bGdyZWVu:6iZRgTyBmsiLxX37WDtIS8X7vT8=

Response headers

HTTP/1.1 204 No Content
Date: Fri, 10 May 2019 17:19:26 GMT

© 2015, 2019 Hitachi Vantara Corporation. All rights reserved.