Replace the specified user authentication methods with supplied values.
Note: Authentication methods supplied through this action do not iterate on existing methods. Instead, any methods passed will overwrite the user’s existing settings.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the user in question.
phone, email, totp Applies to phone authentication methods only. The preferred communication method.
voice, sms AA human-readable label to identify the authentication method.
1 - 20Applies 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.
1Applies to totp authentication methods only. The base32 encoded secret for TOTP generation.
1All authentication methods successfully updated.
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.
Preferred phone authentication method
voice, sms Applies to webauthn authenticators only. The id of the credential.
Applies to webauthn authenticators only. The public key.
Applies to passkeys only. Authenticator Attestation Globally Unique Identifier.
Applies to webauthn authenticators only. The relying party identifier.
Authentication method creation date