删除好友
POST
/delete_friend
请求参数
Body 参数application/json
user_id
user_id
One of
friend_id
user_id
One of
temp_block
boolean
拉黑
temp_both_del
boolean
双向删除
示例
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/delete_friend' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
status
enum<string>
必需
枚举值:
ok
retcode
number
必需
data
object
必需
result
number
必需
errMsg
string
必需
message
string
必需
wording
string
必需
echo
string | null
必需
示例
{
"status": "ok",
"retcode": 0,
"data": {
"result": 0,
"errMsg": "string"
},
"message": "string",
"wording": "string",
"echo": "string"
}
修改于 2024-11-06 06:46:09