Unbinds a multi-factor authentication (MFA) device from a user.
Operation description
This topic provides an example on how to unbind the MFA device whose ID is mfa-00ujhet8pycljj7j**** from the user whose ID is u-00q8wbq42wiltcrk****.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cloudsso:DeleteMFADeviceForUser |
delete |
*User
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UserId |
string |
Yes |
The ID of the user. |
u-00q8wbq42wiltcrk**** |
| MFADeviceId |
string |
Yes |
The ID of the MFA device. You can call the ListMFADevicesForUser operation to query the IDs of MFA devices. |
mfa-00ujhet8pycljj7j**** |
| DirectoryId |
string |
Yes |
The ID of the directory. |
d-00fc2p61**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
8B9982ED-FD0D-5622-8EA0-7B768685DCE7 |
Examples
Success response
JSON format
{
"RequestId": "8B9982ED-FD0D-5622-8EA0-7B768685DCE7"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.