Detaches a multi-factor authentication (MFA) device from a RAM user.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UnbindMFADevice |
The operation that you want to perform. Set the value to UnbindMFADevice. |
UserName | String | Yes | zhangq**** |
The name of the RAM user. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
MFADevice |
The information of the MFA device. |
||
SerialNumber | String | acs:ram::123456789012****:mfa/device002 |
The serial number of the MFA device. |
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE73368 |
The ID of the request. |
Examples
Sample requests
https://ram.aliyuncs.com/?Action=UnbindMFADevice
&UserName=zhangq****
&<Common request parameters>
Sample success responses
XML
format
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
<MFADevice>
<SerialNumber>acs:ram::123456789012****:mfa/device002</SerialNumber>
</MFADevice>
JSON
format
{
"RequestId":"04F0F334-1335-436C-A1D7-6C044FE73368",
"MFADevice":{
"SerialNumber":"acs:ram::123456789012****:mfa/device002"
}
}
Error codes
For a list of error codes, visit the API Error Center.