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
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 }