Skip to main content

Delete Video(s)

Service Address

http://api-az-cn.danghongyun.com/rest

Request Method

POST

Request Parameters

ParameterDescriptionTypeRequired
accessKeyThe user access keyStringRequired
actionAPI name, this api is "deleteVideo" or "batchDeleteVideo" StringRequired
versionAPI version, currently must be 2.0StringRequired
timestampInvoke time in milliseconds since january 1 1970, eg: 1466488681033StringRequired
signatureSignature generated by signature rule.StringRequired
videoIdsThe video ID to be deleted, multiple IDs separated by ',', exmaple:"c82c3de31e594ab2ae58db37a92c1395,ff09ba247b9c432f8fe7527d7aaeb5a3"StringRequired

Response Example

success:
{
"code": 0,
"message": "success",
"result":
[
{
"id": "4b4deb6b24b54ec0b816d607a4317712",
"code": 0,
"message": "success"
},
{
"id": "b1906df45563431d88d5953f0a39e38x",
"code": 10012,
"message": "video_not_exists"
}
],
"success": true
}

error:
{
"code":10000,
"message":"exception",
"success":false
}

Error Codes

CodeMessage
0success
10000exception
10012video_not_exists
10017video_not_exists
10201api_not_exists