Queries multi-factor authentication (MFA) devices.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ram:ListVirtualMFADevices |
get |
*MFADevice
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| VirtualMFADevices |
object |
||
| VirtualMFADevice |
array<object> |
The information about the MFA devices. |
|
|
array<object> |
The information about the MFA device. |
||
| SerialNumber |
string |
The serial number of the MFA device. |
acs:ram::123456789012****:mfa/device002 |
| User |
object |
The basic information about the Resource Access Management (RAM) user to which the MFA device is bound. |
|
| DisplayName |
string |
The display name of the RAM user. |
张* |
| UserId |
string |
The unique ID of the RAM user. |
122748924538**** |
| UserName |
string |
The name of the RAM user. |
zhangq**** |
| ActivateDate |
string |
The time when the MFA device was enabled. |
2015-02-18T17:22:08Z |
| RequestId |
string |
The request ID. |
04F0F334-1335-436C-A1D7-6C044FE73368 |
Examples
Success response
JSON format
{
"VirtualMFADevices": {
"VirtualMFADevice": [
{
"SerialNumber": "acs:ram::123456789012****:mfa/device002",
"User": {
"DisplayName": "张*",
"UserId": "122748924538****",
"UserName": "zhangq****"
},
"ActivateDate": "2015-02-18T17:22:08Z"
}
]
},
"RequestId": "04F0F334-1335-436C-A1D7-6C044FE73368"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.