新增
POST
http://127.0.0.1:8093/email/email/domain/add
请求参数
Header 参数
Apikey
string
后台管理API秘钥
默认值:
1111
Body 参数application/json
domain
string | null
必需
popHost
string | null
可选
popPort
string | null
可选
popIsSsl
string | null
可选
imapHost
string | null
可选
imapPort
string | null
可选
imapIsSsl
string | null
可选
remark
string | null
备注
示例
{
"domain": "string",
"popHost": "string",
"popPort": "string",
"popIsSsl": "string",
"imapHost": "string",
"imapPort": "string",
"imapIsSsl": "string",
"remark": "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/domain/add' \
--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:21