Last update:2020-07-06 14:00:18
This interface allows you to delete a specified resource file from the cloud storage platform.
NOTE:
POST /delete/{param1}
Host: < MgrDomain>
Authorization: < AccessToken>
As for {param1} generation rules, refer to the [EncodeEntryURI Format]
Parameter | Required | Description |
---|---|---|
Host | Yes | [Management Domain Name] which can be obtained from the User Management Interface. |
Authorization | Yes | [Management Credential] |
If a request is successful, a JSON string of the following content will be returned:
{
“code”: “200”,
“message”: “OK”,
}
Field name | Required | Description |
---|---|---|
code | Yes | Request return status code. Refer to the [HTTP Response Status Codes] |
message | Yes | Prompt message when the file deletion is successful. |
If a request fails, a JSON character string of the following content will be returned:
{
“code”: “”,
“message”: “”
}
Field name | Required | Description |
---|---|---|
code | Yes | HTTP request response code. Refer to the [HTTP Response Status Codes] |
message | Yes | Prompt message when file deletion fails. |
curl -v -X POST -H “Authorization:86622e227a50d49d858c2494a935bc2e4ac543a7:NjczY2ZmOTBmZDRjN2UxMGU5ODczM2NjMWY3YTRhYjc4YWZlODcxMw==” --url “http://mgrDomain/delete/aW1hZ2VzOkltYWdlLnBuZw==”