All Products
Search
Document Center

WUYING Workspace:DescribeVirtualMFADevices

Last Updated:Apr 03, 2024

Queries multi-factor authentication (MFA) devices that are bound to an Active Directory (AD) account.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
MaxResultsintegerNo

The number of entries per page. Valid values: 1 to 500. Default value: 100.

100
NextTokenstringNo

The pagination token that is used in the next request to retrieve a new page of results. You must specify the token that is obtained from the previous query as the value of NextToken.

caeba0bbb2be03f84eb48b699f0a4883
OfficeSiteIdstringYes

The ID of the workspace.

cn-hangzhou+dir-269345****
EndUserIdarrayNo

The names of the AD users.

stringNo

The name of the AD user.

testuser

Response parameters

ParameterTypeDescriptionExample
object

The information that is returned.

NextTokenstring

A pagination token. It can be used in the next request to retrieve a new page of results.If NextToken is empty, no next page exists.

AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL23as
RequestIdstring

The request ID.

FB550AAB-FB36-4A91-93F6-F4374AF65403
VirtualMFADevicesobject []

Details of the virtual MFA devices.

SerialNumberstring

The serial number of the virtual MFA device, which is a unique identifier.

a25f297f-f2e1-4a44-bbf1-5f48a6e5****
GmtUnlockstring

The time when a locked virtual MFA device was automatically unlocked. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.

2020-12-21T15:21:28Z
EndUserIdstring

The name of the AD user who uses the virtual MFA device.

usertest
ConsecutiveFailsinteger

The number of consecutive failures to bind the virtual MFA device, or the number of failures on the verification of the virtual MFA device.

1
OfficeSiteIdstring

The ID of the workspace.

cn-hangzhou+dir-269345****
statusstring

The status of the virtual MFA device.

Valid values:

  • LOCKED

  • UNBOUND

  • NORMAL

NORMAL
DirectoryIdstring
Note This parameter is in invitational preview and is not publicly available.
cn-hangzhou+dir-gx2x1dhsmu52rd****
GmtEnabledstring

The time when the virtual MFA device was started. The time follows the ISO 8601 standard in the YYYY-MM-DDThh:mm:ssZ format. The time is displayed in UTC.

2020-12-20T14:52:28Z

Examples

Sample success responses

JSONformat

{
  "NextToken": "AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL23as",
  "RequestId": "FB550AAB-FB36-4A91-93F6-F4374AF65403",
  "VirtualMFADevices": [
    {
      "SerialNumber": "a25f297f-f2e1-4a44-bbf1-5f48a6e5****",
      "GmtUnlock": "2020-12-21T15:21:28Z",
      "EndUserId": "usertest",
      "ConsecutiveFails": 1,
      "OfficeSiteId": "cn-hangzhou+dir-269345****",
      "status": "NORMAL",
      "DirectoryId": "cn-hangzhou+dir-gx2x1dhsmu52rd****",
      "GmtEnabled": "2020-12-20T14:52:28Z"
    }
  ]
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2022-06-07The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    delete Input Parameters: DirectoryId