账号退出
POST
/api
请求参数
Body 参数application/json
event
string
必需
event_type
integer
必需
event_desc
string
必需
data
object
必需
wxid
string
必需
reason
string
必需
pid
integer
必需
account_wxid
string
必需
pid
integer
必需
hwnd
integer
必需
port
integer
必需
示例
{
"event":"EventQuit",
"event_type": 1003,
"event_desc": "账号注销登录",
"data": {
"wxid": "wxid_4zy0t3iyb1eo29",
"reason": "PC端手动退出",
"pid": 24484
},
"account_wxid": "wxid_4zy0t3iyb1eo29",
"pid":24484,
"hwnd": 13173098,
"port": 11000,
}
示例代码
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' \
--header 'Content-Type: application/json' \
--data-raw '{
"event":"EventQuit",
"event_type": 1003,
"event_desc": "账号注销登录",
"data": {
"wxid": "wxid_4zy0t3iyb1eo29",
"reason": "PC端手动退出",
"pid": 24484
},
"account_wxid": "wxid_4zy0t3iyb1eo29",
"pid":24484,
"hwnd": 13173098,
"port": 11000,
}'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2024-02-07 02:49:16