メインコンテンツへスキップ
PATCH
/
prompts
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.prompts.updateSettings({});
}
main();
{
  "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