deleteChatByDate
Delete chat transcript before a specified timestamp
HTTP POST /livechat/:domain/deleteChatByDate
Path Variables:
Name | Mandatory | Type | Description |
---|---|---|---|
domain | YES | STRING | Unique domain identifier |
Authorization: see https://enghouseglobal.atlassian.net/wiki/spaces/CTLIVE/pages/990446705
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
}
Â
Â