Learn R Programming

paws.security.identity (version 0.1.0)

iam_delete_virtual_mfa_device: Deletes a virtual MFA device

Description

Deletes a virtual MFA device.

Usage

iam_delete_virtual_mfa_device(SerialNumber)

Arguments

SerialNumber

[required] The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the ARN.

This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-

Request syntax

svc$delete_virtual_mfa_device(
  SerialNumber = "string"
)

Details

You must deactivate a user's virtual MFA device before you can delete it. For information about deactivating MFA devices, see DeactivateMFADevice.

Examples

Run this code
# NOT RUN {
# The following delete-virtual-mfa-device command removes the specified
# MFA device from the current AWS account.
# }
# NOT RUN {
svc$delete_virtual_mfa_device(
  SerialNumber = "arn:aws:iam::123456789012:mfa/ExampleName"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab