Binds a multi-factor authentication (MFA) device to a Resource Access Management (RAM) user.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:BindMFADevice |
*User
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SerialNumber |
string |
No |
The serial number of the MFA device. |
acs:ram::123456789012****:mfa/device002 |
| UserName |
string |
No |
The name of the RAM user. |
zhangq**** |
| AuthenticationCode1 |
string |
No |
The first authentication code. |
11**** |
| AuthenticationCode2 |
string |
No |
The second authentication code. |
33**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
Examples
Success response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error response
JSON format
{
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.