通過新建立的管理帳號開通資來源目錄時,調用SendVerificationCodeForEnableRD向新管理帳號的安全手機發送驗證碼。
介面說明
每個阿里雲帳號每天最多發送 100 次驗證碼。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| SecureMobilePhone |
string |
否 |
新建立的管理帳號的安全手機號碼。置空表示採用當前登入帳號的安全手機號碼。 格式: 說明
不支援填寫 |
xx-13900001234 |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
返回結果。 |
||
| RequestId |
string |
請求 ID。 |
EC2FE94D-A4A2-51A1-A493-5C273A36C46A |
樣本
正常返回樣本
JSON格式
{
"RequestId": "EC2FE94D-A4A2-51A1-A493-5C273A36C46A"
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 409 | NotSupport.AccountInAnotherResourceDirectory | The specified account is an Alibaba Cloud account or already exists in another resource directory. | |
| 409 | EntityAlreadyExists.ResourceDirectory | The resource directory for the account is already enabled. We recommend that you do not enable the resource directory again. | |
| 409 | SendValidateCodeExceedsLimitForAccount | For the same account, the number of verification codes sent exceeds the limit. | |
| 409 | InvalidParameter.MobileCountryCode | The current site does not support the country code. |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。