lib/iam/right_iam_mfa_devices.rb
# Deactivates the specified MFA device and removes it from association with the User name for which it was originally enabled.
#
#  deactivate_mfa_device('kd1', 'dev1234567890') #=> true
#
Deactivates the specified MFA device and removes it from association with the User name for which it was originally enabled.
Deactivates the specified MFA device and removes it from association with the User name for which it was originally enabled .
def deactivate_mfa_device(user_name, serial_number)
      request_hash = { 'UserName'     => user_name,
                       'SerialNumber' => serial_number }
      link = generate_request("DeactivateMFADevice", request_hash)
      request_info(link, RightHttp2xxParser.new(:logger => @logger))
    end
def deactivate_mfa_device ( user_name , serial_number ) request_hash = { 'UserName' => user_name , 'SerialNumber' => serial_number } link = generate_request ( "DeactivateMFADevice" , request_hash ) request_info ( link , RightHttp2xxParser . new ( :logger => @logger ) ) end
Deactivates the specified MFA device and removes it from association with the User name for which it was originally enabled.
Deactivates the specified MFA device and removes it from association with the User name for which it was originally enabled .
user_name
<not_specific>
serial_number
<not_specific>