Delete Video(s)
Service Address
http://api-az-cn.danghongyun.com/rest
Request Method
POST
Request Parameters
Parameter | Description | Type | Required |
---|---|---|---|
accessKey | The user access key | String | Required |
action | API name, this api is "deleteVideo" or "batchDeleteVideo" | String | Required |
version | API version, currently must be 2.0 | String | Required |
timestamp | Invoke time in milliseconds since january 1 1970, eg: 1466488681033 | String | Required |
signature | Signature generated by signature rule. | String | Required |
videoIds | The video ID to be deleted, multiple IDs separated by ',', exmaple:"c82c3de31e594ab2ae58db37a92c1395,ff09ba247b9c432f8fe7527d7aaeb5a3" | String | Required |
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
Code | Message |
---|---|
0 | success |
10000 | exception |
10012 | video_not_exists |
10017 | video_not_exists |
10201 | api_not_exists |