The POST /environments/{environmentId}/signOnPolicies/{policyId}/actions operation creates the new sign-on policy action resource, which is associated with the sign-on policy ({policyId}) specified in the request URL.

PingOne supports several sign-on policy action types. In this use case, the type property is set to the LOGIN action type, and it requires the property, which is the ID for the flow definition resource you created in Step 4.