| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Permanently deletes a virtual MFA for a user. For more information about virtual MFA devices, go to Using a Virtual MFA Device in Using AWS Identity and Access Management.
Note
You must deactivate a user's virtual MFA device before you can delete it. For information about deactivating MFA devices, see iam-userdeactivatemfadevice.
iam-virtualmfadevicedel -s
SERIAL
| Name | Description | Required |
|---|---|---|
|
|
The serial number for the virtual MFA device to delete. Type: String Default: None |
Yes |
If the command is successful, the output is empty.
The following example deletes the virtual MFA device with the serial number arn:aws:iam::123456789012:mfa/yourMFAname.
PROMPT> iam-virtualmfadevicedel arn:aws:iam::123456789012:mfa/yourMFAname