修改额外存储类型
POST
/myauth/web/updStorageType
请求参数
Header 参数
token
string
必需
示例值:
dde3cf923a314341ad2b47cb6084f6d4
Body 参数application/json
id
integer
必需
type
string
必需
status
integer
状态
fromSoftId
integer
必需
示例
{
"id": 1,
"type": "测试",
"fromSoftId": 1,
"status": 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 '/myauth/web/updStorageType' \
--header 'token: dde3cf923a314341ad2b47cb6084f6d4' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1,
"type": "测试",
"fromSoftId": 1,
"status": 1
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
null
必需
timestamp
integer
必需
示例
{
"code": 200,
"success": true,
"msg": "修改成功",
"sign": "",
"result": null,
"timestamp": 1648888969497
}
🔴500错误
修改于 2022-04-02 08:43:15