/
deleteChatByDate

deleteChatByDate

Delete chat transcript before a specified timestamp

HTTP POST /livechat/:domain/deleteChatByDate

Path Variables:

Name

Mandatory

Type

Description

Name

Mandatory

Type

Description

domain

YES

STRING

Unique domain identifier

Authorization: see Authentication mechanisms

Request Body:

Type: json

Name

Mandatory

Type

Description

Name

Mandatory

Type

Description

ts

yes

number

Timestamp before which to cancel chat

Response:

Type: JSONp

Name

Type

Description

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 }

 

 

Related content

Message Object
Message Object
Read with this
getChatTranscriptByDate/:ts
getChatTranscriptByDate/:ts
More like this
getChatTranscriptByTimeRangeAndServiceID
getChatTranscriptByTimeRangeAndServiceID
More like this
deleteLiterals
deleteLiterals
More like this
getChatTranscriptByUserID
getChatTranscriptByUserID
More like this
getChatTranscriptByChatID
getChatTranscriptByChatID
More like this