修改
POST
http://127.0.0.1:8093/email/email/user/edit
请求参数
Header 参数
Apikey
string
后台管理API秘钥
默认值:
1111
Body 参数application/json
id
string | null
必需
remark
string | null
备注
user
string | null
邮箱账号
pass
string | null
邮箱密码
protocol
string | null
必需
proxyLock
string | null
必需
proxyHost
string | null
代理地址
proxyPort
string | null
代理端口
proxyType
string | null
可选
proxyUser
string | null
代理账号
proxyPassword
string | null
代理密码
letStatus
string | null
可选
popHost
string | null
可选
popPort
string | null
可选
popIsSsl
string | null
可选
imapHost
string | null
可选
imapPort
string | null
可选
imapIsSsl
string | null
可选
allNum
integer | null
可使用次数
useNum
integer | null
已使用次数
expireTime
string | null
可选
clientId
string
微软专用:应用ID
refreshToken
string
微软专用:刷新令牌
testLogin
string | null
可选
labelIds
array[string] | null
可选
projectIds
array[string]
必需
示例
{
"id": "string",
"remark": "string",
"user": "string",
"pass": "string",
"protocol": "string",
"proxyLock": "string",
"proxyHost": "string",
"proxyPort": "string",
"proxyType": "string",
"proxyUser": "string",
"proxyPassword": "string",
"letStatus": "string",
"popHost": "string",
"popPort": "string",
"popIsSsl": "string",
"imapHost": "string",
"imapPort": "string",
"imapIsSsl": "string",
"allNum": 0,
"useNum": 0,
"expireTime": "string",
"clientId": "string",
"refreshToken": "string",
"testLogin": "string",
"labelIds": [
"string"
],
"projectIds": [
"string"
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://127.0.0.1:8093/email/email/user/edit' \
--header 'Apikey: 1111' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
code
integer
可选
success
boolean
可选
msg
string
可选
data
object
可选
timestamp
integer <int64>
可选
示例
{
"code": 0,
"success": false,
"msg": "",
"data": {},
"timestamp": 0
}
修改于 2024-04-25 14:18:37