メインコンテンツへスキップ
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"
]

承認

Authorization
string
header
必須

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

ボディ

The MFA policy

利用可能なオプション:
all-applications,
confidence-score

レスポンス

Policies updated

The MFA policy

利用可能なオプション:
all-applications,
confidence-score