通過新建立的管理帳號開通資來源目錄時,調用SendVerificationCodeForEnableRD向新管理帳號的安全手機發送驗證碼。
介面說明
每個阿里雲帳號每天最多發送 100 次驗證碼。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
resourcemanager:SendVerificationCodeForEnableRD |
none |
*全部資源
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| 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. | 當前網站不支援您輸入的國家碼。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。