v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-143164631.2 MB

Synchronizes the specified MFA device with its IAM resource object on the Amazon Web Services servers.

For more information about creating and working with virtual MFA devices, see Using a virtual MFA device in the IAM User Guide.

get/#Action=ResyncMFADevice

Query parameters

UserNamestring required
<p>The name of the user whose MFA device you want to resynchronize.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
SerialNumberstring required
<p>Serial number that uniquely identifies the MFA device.</p> <p>This parameter allows (through its <a href="http://wikipedia.org/wiki/regex">regex pattern</a>) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-</p>
AuthenticationCode1string required
<p>An authentication code emitted by the device.</p> <p>The format for this parameter is a sequence of six digits.</p>
AuthenticationCode2string required
<p>A subsequent authentication code emitted by the device.</p> <p>The format for this parameter is a sequence of six digits.</p>
Action'ResyncMFADevice' required
Version'2010-05-08' required

Response

Success