Skip to main content
PUT
/
guardian
/
policies
TypeScript
import { ManagementClient } from "auth0";

async function main() {
    const client = new ManagementClient({
        token: "<token>",
    });
    await client.guardian.policies.set([
        "all-applications",
    ]);
}
main();
[
  "all-applications"
]

Authorizations

Authorization
string
header
required

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

Body

The MFA policy

Available options:
all-applications,
confidence-score

Response

Policies updated

The MFA policy

Available options:
all-applications,
confidence-score