You are not logged in.
SendVerificationMessageCode
When an email address is used for registration, this API is used to send a verification code to the email address to verify the registration information.
This API can be invoked only by the partner AK/SK or token.
Name | Type | IN | Mandatory | Description |
---|---|---|---|---|
X-Auth-Token | string | header | Yes | Call with partner token |
Name | Type | Mandatory | Description |
---|---|---|---|
receiver_type | integer | Yes | Verification code type. 2: Send an email verification code. |
timeout | integer | No | Timeout of sending a verification code. If this parameter is left blank, the default timeout duration (5 minutes) is used. Unit: minutes |
email | string | Yes | Email that receives the verification code. |
lang | string | No | Language in which the email verification code is sent. zh-cn: Chinese.en-us: English |
Parameter Name: The default value is returned. No content:no content
CBC.0100:parameter error
"POST https://bss-intl.myhuaweicloud.com/v2/bases/verificationcode/send"
{
"receiver_type": 2,
"timeout": 5,
"email": "***@163.com",
"lang": "en-us"
}