YesDev / Platform API / 更新邮件配置

更新邮件配置

API Description: 更新邮箱配置

HTTP/HTTPS
Protocol
GET/POST
Method
UTF-8
Charset
JSON
Format

API Parameters

Parameter NameTypeIs RequiredDefaultNoteDescription
access_token字符串Optional访问令牌,仅当开启签名验证时需要传递,生成令牌可使用App.Auth.ApplyToken接口
app_key字符串Optionalapp_key,团队代码
sign字符串Optional-动态签名,签名算法请联系我们技术客服获取
id字符串Required-max: 255邮件配置id
account_number字符串Optional-max: 255邮箱账户
account_password字符串Optional-账户对应的密码
email_service字符串Optional-邮箱服务器
email_port整型Optional-邮箱端口
email_secure字符串Optional-邮箱协议
addressee_name字符串Optional-收件人名字
email_sign字符串Optional-是否开启 1是开启 2是关闭,默认1
status字符串Optional-是否开启 1是开启 2是关闭,默认1

Return Field

Response ResultTypeDescription
retintstatus code, 200 is ok, 4xx is bad request, 5xx is server inside error
dataobject/mixedbusiness data, decided by API implementation
msgstringmessage, usually error message

Test Online   

ParameterIs RequiredValue
service Required
access_token Optional
app_key Optional
sign Optional
id Required
account_number Optional
account_password Optional
email_service Optional
email_port Optional
email_secure Optional
addressee_name Optional
email_sign Optional
status Optional

Client Request Demo

# 暂无示例,可添加示例文件:./src/view/docs/demos/Platform.Email_Email.UpdateEmailConfig.json

Error List

Error StatusError Description
400ret=400,客户端参数错误或非法请求
404表示接口服务不存在
406ret=406,access_token令牌校验不通过
407ret=407,app_key权限不足,或未知应用
408ret=408,当前用户禁止使用,或用户未登录
410权限不足
500表示服务端内部错误

Last generated at: 2025-09-15 22:12:39 联系我们开通接入OpenAPI