Delete File
Delete a specified file by its MD5 value.
Interface Address:
text
/papi/file/deleteRequest Method:
text
POSTContent-Type:
text
application/jsonHeader Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| X-Access-Key | string | Yes | API access key ID. See API Rules for authentication |
| X-Signature | string | Yes | Signature value, Base64-encoded HMAC-SHA256 hash |
| X-Timestamp | string | Yes | Millisecond Unix timestamp (13 digits) |
| X-Nonce | string | Yes | Random string, 10-32 lowercase alphanumeric characters |
Body Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
| md5 | string | Yes | File MD5 value |
Request Example:
json
{
"md5": "2fd07ca9481fa8507b18b43612648cc5"
}Response Parameters:
| Parameter | Type | Description |
|---|---|---|
| code | integer | Error code. See Error Codes |
| data | boolean | Response data |
| msg | string | Error message |
Response Example:
json
{
"code": 0,
"data": false,
"msg": ""
}