iam__CreateBindingDevice
Binds an MFA device to a Huawei Cloud IAM user by validating two authentication codes and specifying the device serial number and user ID.
Instructions
[IAM] 该接口可以用于绑定MFA设备。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"authentication_code_first": "<authentication_code_first>",
"authentication_code_second": "<authentication_code_second>",
"serial_number": "<serial_number>",
"user_id": "<user_id>"
},
"name": "iam__CreateBindingDevice"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | 待绑定MFA设备的IAM用户ID。 | |
| serial_number | Yes | MFA设备序列号。 | |
| authentication_code_first | Yes | 第一组验证码。 | |
| authentication_code_second | Yes | 第二组验证码。 |