Skip to main content
PATCH
C#

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

id
string
requis

L’ID de l’utilisateur concerné.

authentication_method_id
string
requis

L’ID de la méthode d’authentification à mettre à jour.

Corps

name
string

Un libellé lisible pour identifier la méthode d’authentification.

preferred_authentication_method
enum<string>

Phone authentication method préférée

Options disponibles:
voice,
sms

Réponse

Méthode d’authentification mise à jour.

La méthode d’authentification créée avec succès.

type
enum<string>
requis
Options disponibles:
phone,
email,
totp,
webauthn-roaming
aaguid
string

S’applique uniquement aux méthodes d’authentification par passkey. Identifiant globalement unique d’attestation de l’authenticator.

authentication_methods
object[]
confirmed
boolean

Indique si la méthode d’authentification a été confirmée.

created_at
string<date-time>

Date de création de la méthode d’authentification

email
string

S’applique uniquement aux Email authentication methods. L’adresse courriel utilisée pour envoyer les messages de vérification.

id
string<authenticator-id>

L’ID de la méthode d’authentification nouvellement créée (généré automatiquement par l’application)

key_id
string

S’applique uniquement aux méthodes d’authentification webauthn. L’ID du credential.

name
string

Un libellé lisible pour identifier la méthode d’authentification.

phone_number
string

S’applique uniquement aux Phone authentication methods. Le numéro de téléphone de destination utilisé pour envoyer les verification codes par message texte ou appel vocal.

Required string length: 2 - 30
preferred_authentication_method
enum<string>

S’applique uniquement aux méthodes d’authentification par téléphone. La méthode de communication privilégiée.

Options disponibles:
voice,
sms
public_key
string

S’applique uniquement aux méthodes d’authentification webauthn. La clé publique.

relying_party_identifier
string

S’applique uniquement aux méthodes d’authentification webauthn. L’identifiant du Relying Party.

totp_secret
string

Secret encodé en Base32 pour la génération de TOTP