リソースディレクトリ内のリソースアカウントタイプのメンバーに、セキュリティ目的で携帯電話番号をバインドします。
操作説明
この API 操作は、リソースアカウントタイプのメンバーに携帯電話番号をバインドする場合にのみ呼び出せます。リソースアカウントタイプのメンバーにすでにバインドされている携帯電話番号の変更には、この API 操作を呼び出すことはできません。
管理操作のオペレーターをシステムが記録できるように、リソースディレクトリの管理アカウント内で AliyunResourceDirectoryFullAccess ポリシーがアタッチされた RAM ユーザーまたは RAM ロールを使用して、この API 操作を呼び出す必要があります。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| 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. | |
| 409 | EnterpriseRealNameVerificationError | 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. | |
| 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. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。