セキュリティ目的で、リソースディレクトリ内のリソースアカウント型メンバーにモバイル電話番号を紐付けます。
操作説明
本 API オペレーションは、リソースアカウント型メンバーへのモバイル電話番号の紐付けのみを実行できます。既に紐付け済みのモバイル電話番号を変更する用途には使用できません。
管理操作の実行者をシステムが正確に記録できるようにするため、この API オペレーションを呼び出す際は、リソースディレクトリの管理アカウント内で、AliyunResourceDirectoryFullAccess ポリシーがアタッチされた RAM ユーザーまたは RAM ロールを使用してください。
本トピックでは、セキュリティ目的でメンバー 138660628348**** にモバイル電話番号を紐付ける API オペレーションの呼び出し例を示します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
resourcemanager:BindSecureMobilePhone |
update |
*Account
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| VerificationCode |
string |
必須 |
検証コードです。 検証コードを取得するには、SendVerificationCodeForBindSecureMobilePhone オペレーションを呼び出してください。 |
123456 |
| SecureMobilePhone |
string |
必須 |
セキュリティ目的でメンバーに紐付けるモバイル電話番号です。 指定するモバイル電話番号は、検証コードを取得するために SendVerificationCodeForBindSecureMobilePhone オペレーションを呼び出す際に指定した番号と一致している必要があります。 電話番号は「<国コード>-<モバイル電話番号>」の形式で指定してください。 説明
中国本土における「 |
xx-13900001234 |
| AccountId |
string |
必須 |
メンバーの Alibaba Cloud アカウント ID です。 |
138660628348**** |
共通リクエストパラメーターの詳細については、「共通パラメーター」をご参照ください。
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
|||
| RequestId |
string |
リクエストの ID です。 |
0217AFEB-5318-56D4-B167-1933D83EDF3F |
例
成功レスポンス
JSONJSON
{
"RequestId": "0217AFEB-5318-56D4-B167-1933D83EDF3F"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | NotSupport.Site.Action | Site does not allow current action. | |
| 409 | NotSupport.AccountInAnotherResourceDirectory | The specified account is an Alibaba Cloud account or already exists in another resource directory. | |
| 409 | Invalid.EnterpriseName | You must specify the enterprise name. | You must specify the enterprise name. |
| 409 | EnterpriseRealNameVerificationError | The specified account does not pass enterprise real-name verification. We recommend you first complete enterprise real-name verification for the account. | The specified account does not pass enterprise real-name verification. We recommend you first complete enterprise real-name verification for the account. |
| 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 | Invalid.VerificationCode | The verification code is invalid. | |
| 409 | AccountTypeMismatch | The type or status of the member account cannot satisfy the current operation. | |
| 409 | AccountSecureMobileAlreadyExists | The secure mobile number of the member already exists. | |
| 409 | CallerIdentityError | Please use the RAM user or role of the Management Account. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。