Message
Delete Message
Delete a message
Note: Deletion is only from Zoko database and will not affect the actual message(s) at the customer's client application.
DELETE
/
message
/
{id}
Authorization
Path
curl --request DELETE \
--url https://chat.zoko.io/v2/message/{id} \
--header 'apikey: <apikey>'
{
"description": "message {id} deleted",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "message deleted"
}
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 message
Response
200 - application/json
description
string
details of deletion
id
string
id of the message
status
string
status of deletion
curl --request DELETE \
--url https://chat.zoko.io/v2/message/{id} \
--header 'apikey: <apikey>'
{
"description": "message {id} deleted",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "message deleted"
}