メインコンテンツへスキップ
PATCH
https://{tenantDomain}/api/v2
/
prompts
Go
package example

import (
    context "context"

    management "github.com/auth0/go-auth0/management/management"
    client "github.com/auth0/go-auth0/management/management/client"
    option "github.com/auth0/go-auth0/management/management/option"
)

func do() {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    request := &management.UpdateSettingsRequestContent{}
    client.Prompts.UpdateSettings(
        context.TODO(),
        request,
    )
}
{
  "identifier_first": true,
  "webauthn_platform_first_factor": true
}

承認

Authorization
string
header
必須

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

ボディ

プロンプトの設定

identifier_first
boolean | null

identifier first が有効かどうか

universal_login_experience
enum<string>

使用するログインエクスペリエンス。new または classic を指定できます。

利用可能なオプション:
new,
classic
webauthn_platform_first_factor
boolean | null

最初の認証要素としてデバイス生体認証を使用する WebAuthn を使用する

レスポンス

プロンプト設定が正常に更新されました。

identifier_first
boolean

identifier first が有効かどうか

universal_login_experience
enum<string>

使用するログインエクスペリエンス。new または classic を指定できます。

利用可能なオプション:
new,
classic
webauthn_platform_first_factor
boolean

最初の認証要素としてデバイス生体認証を使用する WebAuthn を使用する