Passer au contenu principal
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
}

Autorisations

Authorization
string
header
requis

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

Corps

Prompts settings

universal_login_experience
enum<string>

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

Options disponibles:
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

Réponse

Prompts settings successfully updated.

universal_login_experience
enum<string>

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

Options disponibles:
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