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 includes the registration property set to true in the request body.