Skip to content

Cancel File Upload ​

Cancel an ongoing file upload by file MD5 value.

Interface Address:

text
/papi/file/upload/cancel

Request Method:

text
POST

Content-Type:

text
application/json

Header Parameters:

ParameterTypeRequiredDescription
X-Access-KeystringYesAPI access key ID. See API Rules for authentication
X-SignaturestringYesSignature value, Base64-encoded HMAC-SHA256 hash
X-TimestampstringYesMillisecond Unix timestamp (13 digits)
X-NoncestringYesRandom string, 10-32 lowercase alphanumeric characters

Body Parameters:

ParameterTypeRequiredDescription
md5stringYesFile MD5 value

Request Example:

json
{
    "md5": "892aaba56fad8c9c6de6d14c8faba767"
}

Response Parameters:

ParameterTypeDescription
codeintegerError code. See Error Codes
databooleanResponse data
msgstringError message

Response Example:

json
{
    "code": 0,
    "data": false,
    "msg": ""
}

OpenAPI Docs