Skip to main content
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,
            }
        );
    }

}
[]

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