- 后台接口
- 前台接口
- 【新】后台接口
- 【新】前台接口
对话记录删除
开发中
POST
/api/chat.chatRecord/chatClean
请求参数
Header 参数
token
string
可选
示例值:
{{api-token}}
Body 参数application/json
id
integer
必需
type
integer
必需
category_id
integer
必需
other_id
integer
必需
示例
{
"id": 1,
"type": 1,
"category_id": 1,
"other_id": 1
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/chat.chatRecord/chatClean' \
--header 'token: {{api-token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1,
"type": 1,
"category_id": 1,
"other_id": 1
}'
返回响应
修改于 2023-12-26 09:54:20