All Products
Search
Document Center

WUYING Workspace:LockVirtualMFADevice

Last Updated:Apr 03, 2024

Locks a multi-factor authentication (MFA) device that is in the NORMAL state.

Operation description

After a virtual MFA device is locked, its status changes to LOCKED. The Active Directory (AD) user who uses the virtual MFA device is unable to pass MFA and is therefore unable to log on to the client. You can call the UnlockVirtualMFADevice operation to unlock the device.

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.

cn-hangzhou
SerialNumberstringYes

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

You can call the DescribeVirtualMFADevices operation to query the serial number of the virtual MFA device bound to AD users.

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

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

Examples

Sample success responses

JSONformat

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Error codes

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

Change history

Change timeSummary of changesOperation
No change history