Step 4: Create the sign-on policy action

POST {{apiPath}}/environments/{{envID}}/signOnPolicies/{{passwordlessPolicyID}}/actions

src/solutions/pingone-solutions/passwordless-sign-on-mfa/step-2b-create-the-sign-on-policy-action/index.mdx

Request Body

{"priority"=>1, "type"=>"MULTI_FACTOR_AUTHENTICATION", "sms"=>{"enabled"=>true}, "email"=>{"enabled"=>true}}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Authorizationstring