最近更新时间:2024.04.19 11:53:54
首次发布时间:2023.06.30 15:23:34
发送邮箱验证信息。
参数名称 | 类型 | 是否必选 | 示例值 | 描述 |
---|---|---|---|---|
Action | String | 是 | SendValidationMessage | 公共参数,本接口值:SendValidationMessage。 |
Version | String | 是 | 2021-03-03 | 公共参数,本接口值:2021-03-03。 |
Type | String | 是 | 发送验证消息类型,固定取值为Email 。 | |
Destination | String | 是 | test@123.com | 联系人邮箱。 |
POST /?Action=SendValidationMessage&Version=2021-03-03 Content-Type:application/json { "Type": " Email", "Destination": "test@123.com" }
参数名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
SendStatus | String | MessageSucceed.Email | 发送邮箱认证信息状态码:
|
Message | String | - | 发送邮箱认证信息错误原因。 |
HTTP/1.1 200 OK Content-Type:application/json { "ResponseMetadata": { "RequestId": "202211302208xxxx", "Action": "SendValidationMessage", "Version": "2021-03-03", "Service": "vmp", "Region": "cn-beijing" }, "Result": { "SendStatus": " MessageSucceed.Email" } }
本接口错误码如下表所示,公共错误码请参见 公共错误码。
HTTP 状态码 | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | MissingParameter.{{parameter}} | The required parameter {{parameter}} is missing. | 缺少必要的参数。 |
403 | ProductUnsubscribed | You are not subscribed to the Volcengine Managed Service for Prometheus (VMP). Please go to the VMP console web page to subscribe to the service | 当前账号未订阅 VMP 服务。 |
429 | LimitExceeded.Email | The same email address should not be validated more than once in 1 minute, please try it later. | 同一电子邮件地址在 1 分钟内不应验证超过一次。 |