DeleteMFADeviceForUser
Deletes the MFA device for a user.
Operation description
This topic provides an example of deleting the MFA device mfa-00ujhet8pycljj7j**** bound to the user 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 user ID. |
u-00q8wbq42wiltcrk**** |
| MFADeviceId |
string |
Yes |
The MFA device ID. You can call ListMFADevicesForUser to query the MFA device ID. |
mfa-00ujhet8pycljj7j**** |
| DirectoryId |
string |
Yes |
The directory ID. |
d-00fc2p61**** |
| MfaType |
string |
No |
The type of the MFA device. Valid values:
|
PlatformPasskey |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| 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.