Skip to main content
PATCH
C#

承認

Authorization
string
header
必須

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

パスパラメータ

id
string
必須

対象ユーザーの ID。

authentication_method_id
string
必須

更新する認証方法の ID。

ボディ

name
string

この認証方法を識別するためのわかりやすいラベル。

preferred_authentication_method
enum<string>

推奨される電話認証方法

利用可能なオプション:
voice,
sms

レスポンス

認証方法を更新しました。

正常に作成された認証方法。

type
enum<string>
必須
利用可能なオプション:
phone,
email,
totp,
webauthn-roaming
aaguid
string

パスキー認証方法にのみ適用されます。Authenticator Attestation Globally Unique Identifier。

authentication_methods
object[]
confirmed
boolean

この認証方法が確認済みかどうか。

created_at
string<date-time>

認証方法の作成日

email
string

メール認証方法にのみ適用されます。確認メッセージの送信に使用されるメールアドレス。

id
string<authenticator-id>

新しく作成された認証方法の ID(アプリケーションによって自動生成されます)

key_id
string

webauthn 認証方法にのみ適用されます。credential の ID。

name
string

この認証方法を識別するためのわかりやすいラベル。

phone_number
string

電話認証方法にのみ適用されます。テキストメッセージおよび音声で確認コードを送信するために使用される宛先の電話番号。

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

phone 認証方法にのみ適用されます。優先される通信方法です。

利用可能なオプション:
voice,
sms
public_key
string

webauthn 認証方法にのみ適用されます。公開鍵。

relying_party_identifier
string

webauthn 認証方法にのみ適用されます。Relying Party 識別子。

totp_secret
string

TOTP 生成用の Base32 エンコード済みシークレット