DELETE buckets/{bucket}/delete?recursive={recursive}&key={key}&requestTime={requestTime}&signature={signature}
Deletes a bucket.
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
bucket |
The bucket to delete. |
string |
Required |
recursive |
Should all files be deleted? If this is false, and the bucket is not empty the call will fail. |
boolean |
Required |
key |
The key that was used to sign this request. |
string |
Required |
requestTime |
The time the request was made. |
integer |
Required |
signature |
The signature that proves that you are who you say you are. |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A response indicating if the call was successful or not.
DeleteBucketResponseName | Description | Type | Additional information |
---|---|---|---|
Success | boolean |
None. |
|
Error | string |
None. |
Response Formats
application/xml, text/xml
Sample:
<DeleteBucketResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <Error>sample string 2</Error> <Success>true</Success> </DeleteBucketResponse>
application/json, text/json
Sample:
{ "Success": true, "Error": "sample string 2" }