Bulk Delete Recordings
Deletes multiple recordings in one request.
Request URL
DELETE {base_url}/uc-creport/api/v1/recordings/batch
Request parameters
- Headers
-
Parameter Required Type Description Authorization Yes String The access token used for authentication. Format: Bearer
{access_token}.x-tenant-code Yes String The tenant name. Note: You can obtain tenant name using the Query Tenants interface.
- Body parameters
-
Parameter Required Type Description ids Yes Array<String> The list of IDs of the recordings to delete, supporting 1 to 100 recordings. You can obtain the IDs using the Search Recordings interface.
Response parameters
| Parameter | Type | Description |
|---|---|---|
| requestId | String | The unique ID of the request, which can be used to quickly locate the request. |
| code | String | The HTTP status code of the request.
|
| message | String | The status message of the request. |
| detailMessage | String | The detailed error information. When the request is successful, this parameter returns empty. |
| result | Object<Deletion_Result> | The deletion result. |
- Deletion_Result
-
Parameter Type Description successCount Integer The number of recordings processed successfully. failedCount Integer The number of recordings that fail to be processed. failures Array<Failure_Item> The list of recordings that fail to be processed, with failure reasons.
- Failure_Item
-
Parameter Type Description id String The ID of the recording that fails to be processed. errorCode String The error code of the failure. errorMessage String The description of the failure reason.
Example
Request example
DELETE /uc-creport/api/v1/recordings/batch HTTP/1.1
Host: api.cn.novoone.com
Authorization: Bearer eyJraWQiOiJjbi0wLWtleS0xIiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJkaXN0cmlidXRvcmV4YW1wbGVAb3V0bG9vay5jb20iLCJhcHBfa2V5Ijoic2xOdnQzaHc1NXB2Vm5HRlNhR2ZOVTNmMWxYQ3lpa08iLCJncmFudF90eXBlIjoib3BlbmFwaSIsImNsaWVudF9leHQiOnsiZGVzY3JpcHRpb24iOiLnrKzkuInmlrnlkIjkvZzkvJnkvLTlupTnlKgiLCJwYXJ0bmVyIjoi56S65L6L5ZCI5L2c5LyZ5Ly0In0sImNsaWVudF90eXBlIjoib3BlbmFwaSIsImV4cCI6MTc5MjA4OTA1OCwiaWF0IjoxNzkyMDY3NDU4LCJqdGkiOiJiZWQyN2VjZS00MmRkLTQyYmMtYjQ3YS1iODczYjQxNDRmODEiLCJjbGllbnRfaWQiOiJub3ZvLW9wZW4tcGxhdGZvcm0iLCJ1c2VyX2V4dCI6eyJyb2xlSWRzIjpbM10sInN0eXBlIjoiQURNSU4iLCJ0ZW5hbnRDb2RlIjpudWxsLCJ0eXBlIjoiUF9BQ0NPVU5UIiwidXNlcklkIjozMDc2OTEzNjQ0OTE1OTk4NzIwLCJlbWFpbCI6ImRpc3RyaWJ1dG9yZXhhbXBsZUBvdXRsb29rLmNvbSIsInVzZXJuYW1lIjoiZGlzdHJpYnV0b3JleGFtcGxlQG91dGxvb2suY29tIiwidWNJZCI6MzA3NjkxMzY0NDg5MDgzMjg5Nn19.JRcc5Fu-yLVSFILPrWDgouQWFV5U1Gi6K_dOwWH6xciNDYiq6m5PpjVJBtujrBm2cFJqBZIG08N5a33Z8f4bqvPu-IUG4sR4aXiq06Kl2PZ-qsslj9OgjlOHv7TZiCJSM3rD02bhCfFrflxDqQYAM13ZyWO98XOBcpaURed7s1Slv5nvTN6q8nlAut_kJaAS8_TwgGT_RoJV1nwwuO1j3WnOdncAaTte4X8drnDlFKN5ierIMBO7uLaQxsK-NWg3tVWMeggst3hcgKxXQTHiTDpTs0J5JyuICB67w59ADTX3A6KC3K7BJ1T0LkIVCArTfhSUMedf6Wudnd4spFRjgg
x-tenant-code: colortest2
Content-Type: application/json
{
"ids": [
"347642307762311168",
"347638743665070080"
]
}
Response example
HTTP/1.1 200 OK { "requestId": "90c731217b1aa4170789cd40d6dd171e", "code": "200", "message": "SUCCESS", "detailMessage": "", "result": { "successCount": 2, "failedCount": 0, "failures": [] } }