Delete chat transcript before a specified timestamp
HTTP POST /livechat/:domain/deleteChatByDate
Path Variables:
Name | Mandatory | Type | Description |
---|---|---|---|
domain | YES | STRING | Unique domain identifier |
Headers:
Name | Mandatory | Type | Description |
---|---|---|---|
ctlivetoken | YES | STRING | Unique ctlive session identifier |
Request Body:
Type: JSON
Name | Mandatory | Type | Description |
---|---|---|---|
ts | YES | NUMBER | Timestamp before which to cancel chat |
Response:
Type: JSONP
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 |
Example:
Request
http://<hostname>:<port>/livechat/default/deleteChatByDate
Request Body:
{ "ts": 1569248216648 }
Response
{ "result": true, "error": null }