Deletes the MFA device of a user.
Operation description
This topic provides an example on how to delete the MFA device mfa-00ujhet8pycljj7j**** that is attached 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**** |
|
No |
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.