Queries the list of all multi-factor authentication (MFA) devices.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes ListVirtualMFADevices

The operation that you want to perform. Set the value to ListVirtualMFADevices.

Response parameters

Parameter Type Example Description
RequestId String 04F0F334-1335-436C-A1D7-6C044FE73368

The ID of the request.

VirtualMFADevices Array

The list of MFA devices.


The information of an MFA device.

ActivateDate String 2015-02-18T17:22:08Z

The time when the MFA device was enabled.

SerialNumber String acs:ram::123456789012****:mfa/device002

The serial number of the MFA device.


The basic information of the RAM user to which the MFA device is attached.

DisplayName String Zhang*

The display name of the RAM user.

UserId String 122748924538****

The unique ID of the RAM user.

UserName String zhangq****

The name of the RAM user.


Sample requests

&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.