Interface description
Deletes the specified media files (such as video files) stored on the server. Before the deletion operation, call the Video query interface to obtain the file information. The request parameters of this interface are mainly derived from the results returned by the Video query interface.
Data permission description
You can only operate devices that have permissions for the login account.
API address
https://v7.cmsv8.com/StandardApiAction_delMedia.action?jsession=66d754dd7f41473dbd2&devIdno=013300000001&fileLocation=2&svrId=7&year=2025&mon=9&day=23&beg=57985&filePath=E:/gStorage/RECORD_FILE/013300000001/2025-09-23/0_0_0_579851_00013300000001250923160625000200.mp4&fileSize=386747&fileOffSet=0
Request parameters
| Parameter name | Parameter type | Must | Example | Parameter meaning |
|---|---|---|---|---|
| jsession | string | Yes | 66d754dd7f41473dbd2 | Session number |
| devIdno | string | Yes | 013300000001 | Device |
| fileLocation | number | Yes | 2 | the file location. Take the loc returned by the video query interface |
| svrId | number | Yes | 7 | the server ID. Take the svr returned by the video query interface |
| year | number | Yes | 2025 | year. Take the year +2000 returned by the video query interface |
| mon | number | Yes | 9 | months. Take the mon returned by the video query interface. |
| day | number | Yes | 23 | day. Take the day returned by the video query interface |
| beg | number | Yes | 57985 | File start time in seconds. Take the beg returned by the video query interface |
| filePath | string | Yes | E:/gStorage/RECORD_FILE/013300000001/2025-09-23/0_0_0_579851_00013300000001250923160625000200.mp4 | file path. Take the file returned by the video query interface. |
| fileSize | number | Yes | 386747 | file size in bytes. Take the len returned by the video query interface. |
| fileOffSet | number | Yes | 0 | the file offset. Take the off returned by the video query interface |
Return parameters
| Parameter Name | parameter Type | parameter meaning | ||
|---|---|---|---|---|
| result | number | interface status code, 0 is normal, and other information is abnormal. For more information, see [Error Code Description](/helpCenter/doc/index.html?isStudy = 1 & pageType = 3 & docId = 1321 & type = 1 "Error Code Description"). | ||
Return Example
{
"result": 0
}