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
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID. | cn-hangzhou |
SerialNumber | string | Yes | 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
Examples
Sample success responses
JSON
format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history