You can call this operation to delete virtual MFA devices.

Description

If an MFA device is deleted, the device is unbound, reset, and disabled. When the AD user wants to log on to the cloud desktop, the AD user must bind a new MFA device.

Debugging

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 DeleteVirtualMFADevice

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

RegionId String Yes cn-hangzhou

The region ID of the virtual MFA device.

SerialNumber String Yes a25f297f-f2e1-4a44-bbf1-5f48a6e5****

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

Response parameters

Parameter Type Example Description
RequestId String FB550AAB-FB36-4A91-93F6-F4374AF65403

The ID of the request.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=DeleteVirtualMFADevice
&RegionId=cn-hangzhou
&SerialNumber=a25f297f-f2e1-4a44-bbf1-5f48a6e5****
&<Common request parameters>

Sample success responses

XML format

<DeleteVirtualMFADeviceResponse>
      <RequestId>FB550AAB-FB36-4A91-93F6-F4374AF65403</RequestId>
</DeleteVirtualMFADeviceResponse>

JSON format

{
    "RequestId":"FB550AAB-FB36-4A91-93F6-F4374AF65403"
}

Error codes

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