Delete Direct Chat
Delete one direct chat session.
Request
POST https://apichat.twt.com/openapi/zxlt/del_zxlt_dl
Header Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
x-chat-signature | string | Yes | HMAC-SHA256 signature |
Accept | string | No | Default: application/json |
Content-Type | string | Yes | application/json |
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
appid | string | Yes | Application identifier from the console |
timestamp | integer | Yes | Request timestamp |
ranstr | string | Yes | Random string |
u_info | array[object] | Yes | Customer information list |
u_info Object Fields
| Parameter | Type | Required | Description |
|---|---|---|---|
kefu_id | integer | Yes | Agent ID from the team list |
sbs | string | Yes | Unique customer identifier, 1 to 64 characters |
Request Example
curl --location --request POST 'https://apichat.twt.com/openapi/zxlt/del_zxlt_dl' \
--header 'x-chat-signature: 7ac03ccc306902234f3b40cbe797fcb0f' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--data-raw '{
"appid": "string",
"timestamp": 0,
"ranstr": "string",
"u_info": [
{
"kefu_id": 0,
"sbs": "string"
}
]
}'
Response
200 Success
| Parameter | Type | Required | Description |
|---|---|---|---|
code | integer | Yes | 1 success, -1 failure |
msg | string | Yes | Error message when the request fails |
data | string | Yes | Response payload |
{
"code": 1,
"msg": "ok",
"data": ""
}