Domain name for API request: smh.intl.tencentcloudapi.com.
This API is used to send SMS verification codes for changing the admin account of a super official cloud disk instance.
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
| Parameter Name | Required | Type | Description |
|---|---|---|---|
| Action | Yes | String | Common Params. The value used for this API: SendSmsCode. |
| Version | Yes | String | Common Params. The value used for this API: 2021-07-12. |
| Region | No | String | Common Params. This parameter is not required for this API. |
| Purpose | Yes | String | Captcha target, currently supported: rebind super administrator account, BindSuperAdmin; trial version business upgrade, ChannelUpdateVerify. |
| PhoneNumber | Yes | String | Specifies the mobile number as the super admin account. |
| InstanceId | No | String | Official cloud disk instance ID. |
| CountryCode | No | String | Specifies the country code of the mobile number that serves as the super administrator account. defaults to +86. |
| Parameter Name | Type | Description |
|---|---|---|
| RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
POST / HTTP/1.1
Host: smh.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: SendSmsCode
<Common request parameters>
{
"Purpose": "BindSuperAdmin",
"InstanceId": "n0v9tdme",
"PhoneNumber": "18999999999"
}{
"Response": {
"RequestId": "37c3c855-caee-4c44-9778-bdec5998e5f1"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
| Error Code | Description |
|---|---|
| InternalError.SendSms | Error occurs when sending sms verification code. |
| InvalidParameterValue.CountryCode | The specified country code is invalid. |
| InvalidParameterValue.NotModified | The specified phone number is the same as the current one. |
| InvalidParameterValue.NotSuperAdmin | The specified phone number is not the super administrator of the enterprise. |
| InvalidParameterValue.PhoneNumber | The specified phone number is invalid. |
| RequestLimitExceeded.SendSms | The sms verification code sent to the designated mobile number has reached the rate limit. |
| ResourceNotFound.OfficialInstance | The official cloud disk instance does not exist or does not belong to the current account. |
| UnsupportedOperation.Purpose | The specified purpose is unsupported. |
Feedback