删除数据
POST
/myauth/web/delData
请求参数
Header 参数
token
string
必需
示例值:
123
Body 参数application/json
type
string
上报类型
content
string
上报内容
ip
string
上报ip
addTime
integer
上报时间
device_info
string
设备信息
device_code
string
机器码
fromSoftId
integer
所属软件id
fromVerId
integer
所属版本id
示例
{
"type": null,
"content": null,
"ip": null,
"addTime": null,
"fromSoftId": null,
"fromVerId": null,
"device_info": null,
"device_code": null
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/myauth/web/delData' \
--header 'token: 123' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": null,
"content": null,
"ip": null,
"addTime": null,
"fromSoftId": null,
"fromVerId": null,
"device_info": null,
"device_code": null
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
null
必需
timestamp
integer
必需
示例
{
"code": 200,
"success": true,
"msg": "成功删除 2 条数据",
"sign": "",
"result": null,
"timestamp": 1646316335378
}
🔴500错误
修改于 2022-03-03 14:38:10