メインコンテンツへスキップ
PUT
https://{tenantDomain}/api/v2
/
guardian
/
policies
C#
using Auth0.ManagementApi;
using System.Threading.Tasks;
using System.Collections.Generic;

public partial class Examples
{
    public async Task Example() {
        var client = new ManagementClient(
            token: "<token>"
        );

        await client.Guardian.Policies.SetAsync(
            new List<MfaPolicyEnum>(){
                MfaPolicyEnum.AllApplications,
            }
        );
    }

}
[]

承認

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