The POST /environments/{environmentId}/signOnPolicies/{policyId}/actions operation creates a new sign-on policy action resource. The priority property specifies the order in which this action (and its conditions) is evaluated when evaluating the policy. Property values range from 1 to {maxInt}. The action with a priority value of 1 is evaluated first.

A POST request for a sign-on policy action with the type attribute set to MULTI_FACTOR_AUTHENTICATION requires a value for at least one of the email, authenticator, sms or applications authenticators. The sample shows the request body for an MFA sign-on policy action.