调用SubmitEmailVerification接口发送邮箱验证邮件。
接口说明
收到验证邮件后您需要在 3 天内登录邮箱完成验证。如果验证邮件已过期,您可以调用 ResendEmailVerification 接口重新发送验证邮件。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
domain:EmailVerificationOperation |
update |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| Lang |
string |
否 |
接口返回错误信息语言。取值:
默认值为 en。 |
en |
|
string |
是 |
需要完成验证的邮箱,多个邮箱之间使用英文逗号(,)隔开。 |
username@example.com |
|
| SendIfExist |
boolean |
否 |
验证邮件已经存在时是否重新发送邮件。取值:
默认值为 false。 |
false |
| UserClientIp |
string |
否 |
用户 IP,可设置为 127.0.0.1。 |
127.0.0.1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| ExistList |
array<object> |
验证邮件已经存在列表。 |
|
|
object |
|||
| Code |
string |
返回 code。 |
SendTokenQuotaExceeded |
|
string |
验证邮箱。 |
username@example.com |
|
| Message |
string |
返回信息。 |
The maximum number of attempts allowed to send the email verification link is exceeded. |
| FailList |
array<object> |
验证邮件发送失败列表。 |
|
|
object |
|||
| Code |
string |
返回 code。 |
SendTokenQuotaExceeded |
|
string |
验证邮箱。 |
username@example.com |
|
| Message |
string |
返回信息。 |
The maximum number of attempts allowed to send the email verification link is exceeded |
| RequestId |
string |
请求 ID。 |
E2A8A5EF-DF8A-4C48-8FD4-9F6BD71AB26D |
| SuccessList |
array<object> |
验证邮件发送成功列表。 |
|
|
object |
|||
| Code |
string |
返回 code。 |
Success |
|
string |
验证邮箱。 |
username@example.com |
|
| Message |
string |
返回信息。 |
Success |
示例
正常返回示例
JSON格式
{
"ExistList": [
{
"Code": "SendTokenQuotaExceeded",
"Email": "username@example.com",
"Message": "The maximum number of attempts allowed to send the email verification link is exceeded."
}
],
"FailList": [
{
"Code": "SendTokenQuotaExceeded",
"Email": "username@example.com",
"Message": "The maximum number of attempts allowed to send the email verification link is exceeded"
}
],
"RequestId": "E2A8A5EF-DF8A-4C48-8FD4-9F6BD71AB26D",
"SuccessList": [
{
"Code": "Success",
"Email": "username@example.com",
"Message": "Success"
}
]
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。