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

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

func do() () {
    client := client.NewClient(
        option.WithToken(
            "<token>",
        ),
    )
    client.Prompts.UpdateSettings(
        context.TODO(),
        &management.UpdateSettingsRequestContent{},
    )
}
{
  "universal_login_experience": "new",
  "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.

ボディ

Prompts settings

universal_login_experience
enum<string>

Which login experience to use. Can be new or classic.

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

Whether identifier first is enabled or not

webauthn_platform_first_factor
boolean | null

Use WebAuthn with Device Biometrics as the first authentication factor

レスポンス

Prompts settings successfully updated.

universal_login_experience
enum<string>

Which login experience to use. Can be new or classic.

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

Whether identifier first is enabled or not

webauthn_platform_first_factor
boolean

Use WebAuthn with Device Biometrics as the first authentication factor