Customer
Delete Messages
Delete all messages for a customer.
Note: Deletion is only from Zoko database and will not affect the actual message(s) at the customer's client application.
DELETE
/
customer
/
{id}
/
messages
Authorization
Path
curl --request DELETE \
--url https://chat.zoko.io/v2/customer/{id}/messages \
--header 'apikey: <apikey>'
{
"details": "deleted items count - xx",
"message": "items(s) deleted",
"status": "204"
}
Authorizations
apikey
string
headerrequiredAuthentication is done via apikey
provided for your account
Include the following in your request header
apikey: "your_apikey_here"
Path Parameters
id
string
requiredID of customer
Response
200 - application/json
details
string
message
string
status
string
curl --request DELETE \
--url https://chat.zoko.io/v2/customer/{id}/messages \
--header 'apikey: <apikey>'
{
"details": "deleted items count - xx",
"message": "items(s) deleted",
"status": "204"
}