Terminate the specified chat session
Scope:
client
or
operator
id
required
The id of the chat to be terminated
delaysec
optional
The second delay for termination to wait for more messages
message
The response message
status
The system response status. Will be ok or error
curl
example request
1
curl -X POST -H "Content-Type: application/json"
2
-H "Authorization: Bearer {{Oauth Token}}"
3
https://developer.livehelpnow.net/api/chat/{{102317790}}/terminate
example response
1
{
2
"message"
: "Chat terminated",
3
"status"
: "ok"
4
}