Modify the authentication method with the given ID from the specified user. For more information, review Manage Authentication Methods with Management API.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the user in question.
The ID of the authentication method to update.
Authentication method updated.
The successfully created authentication method.
phone, email, totp, webauthn-roaming The ID of the newly created authentication method (automatically generated by the application)
A human-readable label to identify the authentication method.
Base32 encoded secret for TOTP generation
Applies to phone authentication methods only. The destination phone number used to send verification codes via text and voice.
2 - 30Applies to email authentication methods only. The email address used to send verification messages.
Applies to phone authentication methods only. The preferred communication method.
voice, sms Applies to webauthn authentication methods only. The id of the credential.
Applies to webauthn authentication methods only. The public key.
Applies to passkey authentication methods only. Authenticator Attestation Globally Unique Identifier.
Applies to webauthn authentication methods only. The relying party identifier.
Authentication method creation date