リソースディレクトリ内のリソースアカウントにセキュリティ目的でバインドするモバイル電話番号に対して、検証コードを送信します。
操作説明
管理操作のオペレーターをシステムが記録できるようにするため、この操作は、ご利用のリソースディレクトリの管理アカウント内で、AliyunResourceDirectoryFullAccess ポリシーがアタッチされた RAM ユーザーまたは RAM ロールを使用して呼び出す必要があります。
この例では、リソースアカウント 138660628348**** にバインドするモバイル電話番号に対して検証コードを送信します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
resourcemanager:SendVerificationCodeForBindSecureMobilePhone |
none |
*Account
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SecureMobilePhone |
string |
必須 |
リソースアカウントにバインドするモバイル電話番号です。 モバイル電話番号は <国別コード>-<モバイル電話番号> の形式で指定してください。 説明
中国本土の |
xx-13900001234 |
| AccountId |
string |
必須 |
リソースアカウントの ID です。 |
138660628348**** |
共通リクエストパラメーターの詳細については、「共通パラメーター」をご参照ください。
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID です。 |
DCD43660-75DD-5D15-B342-1B83FCA5B913 |
| ExpirationDate |
string |
検証コードの有効期限です。 |
2021-12-17T07:38:41.747Z |
例
成功レスポンス
JSONJSON
{
"RequestId": "DCD43660-75DD-5D15-B342-1B83FCA5B913",
"ExpirationDate": "2021-12-17T07:38:41.747Z"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 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. | 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。