AWS SDK for .NET Documentation
DeactivateMFADevice Method (request)
Amazon ► Amazon.IdentityManagement ► AmazonIdentityManagementService ► DeactivateMFADevice(DeactivateMFADeviceRequest)
Did this page help you? Yes No Tell us about it...
Deactivates the specified MFA device and removes it from association with the user name for which it was originally enabled.
Declaration Syntax

C#

    DeactivateMFADeviceResponse DeactivateMFADevice(
    	DeactivateMFADeviceRequest request
    )

Parameters

request (DeactivateMFADeviceRequest)
  Container for the necessary parameters to execute the DeactivateMFADevice service method.

Return Value
The response from the DeactivateMFADevice service method, as returned by IdentityManagementService.
Exceptions

Exception | Condition
--- | ---
EntityTemporarilyUnmodifiableException | The request was rejected because it referenced an entity that is temporarily unmodifiable, such as a user name that was deleted and then recreated. The error indicates that the request is likely to succeed if you try again after waiting several minutes. The error message describes the entity.
LimitExceededException | The request was rejected because it attempted to create resources beyond the current AWS account limits. The error message describes the limit exceeded.
NoSuchEntityException | The request was rejected because it referenced an entity that does not exist. The error message describes the entity.

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)