/
deleteRecordings
deleteRecordings
Deletes recordings based on the specified filter.
http post /ctreplay/:domain?/deleteRecordings
Path variables:
Name | Mandatory | Type | Description |
---|---|---|---|
domain | no | string | Unique domain identifier |
Authorization: BEARER (token returned by EasyCIM SSO)
Request body:
Name | Mandatory | Type | Description |
---|---|---|---|
filter | YES | OBJECT | filter for data deletion. |
Response:
Type: json
Name | Type | Description |
---|---|---|
result | BOOLEAN | If true, the service response was performed correctly |
error | NULL / STRING | Contains the error description if an error has occurred in the request |
n | number | Number of recordings deleted |
Example:
Request:
http://<hostname>:<port>/ctreplay/default/deleteRecordings
Request body:
{
"filter":{"macroactivity": "MAC_ADSL_OUT", "partner": "DEFAULT"}
}
Response:
{
"result": true,
"n": 2,
"error": null
}
Â