POST files/{bucket}/delete/{path}?key={key}&requestTime={requestTime}&signature={signature}

Deletes a file located at the given bucket and path.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bucket

The bucket where the file is stored.

string

Required

path

The path to the file.

string

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 that indicates whether the delete succeeded or not.

DeleteFileResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

string

None.

Response Formats

application/xml, text/xml

Sample:
<DeleteFileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Error>sample string 2</Error>
  <Success>true</Success>
</DeleteFileResponse>

application/json, text/json

Sample:
{
  "Success": true,
  "Error": "sample string 2"
}