Update Risk Policy Set

PUT {{apiPath}}/environments/{{envID}}/riskPolicySets/{{riskPolicySetID}}

This PingOne collection contains only the requests without documentation. For the official PingOne Platform API documentation, see Update Risk Policy Set.

Request Body

{"name"=>"Example Policy", "description"=>"This is an example policy.", "defaultResult"=>{"level"=>"Low"}, "riskPolicies"=>[{"name"=>"GEOVELOCITY_ANOMALY", "result"=>{"level"=>"HIGH"}, "condition"=>{"value"=>"${details.impossibleTravel}", "equals"=>true}}, {"name"=>"MEDIUM_WEIGHTED_POLICY", "result"=>{"level"=>"MEDIUM"}, "condition"=>{"aggregatedWeights"=>[{"value"=>"${details.aggregatedWeights.anonymousNetwork}", "weight"=>8}, {"value"=>"${details.aggregatedWeights.geoVelocity}", "weight"=>4}, {"value"=>"${details.aggregatedWeights.ipRisk}", "weight"=>8}, {"value"=>"${details.aggregatedWeights.ipVelocityByUser}", "weight"=>5}, {"value"=>"${details.aggregatedWeights.userRiskBehavior}", "weight"=>10}, {"value"=>"${details.aggregatedWeights.userBasedRiskBehavior}", "weight"=>10}, {"value"=>"${details.aggregatedWeights.userVelocityByIp}", "weight"=>5}], "between"=>{"minScore"=>40, "maxScore"=>80}}}, {"name"=>"HIGH_WEIGHTED_POLICY", "result"=>{"level"=>"HIGH"}, "condition"=>{"aggregatedWeights"=>[{"value"=>"${details.aggregatedWeights.anonymousNetwork}", "weight"=>8}, {"value"=>"${details.aggregatedWeights.geoVelocity}", "weight"=>4}, {"value"=>"${details.aggregatedWeights.ipRisk}", "weight"=>8}, {"value"=>"${details.aggregatedWeights.ipVelocityByUser}", "weight"=>5}, {"value"=>"${details.aggregatedWeights.userRiskBehavior}", "weight"=>10}, {"value"=>"${details.aggregatedWeights.userBasedRiskBehavior}", "weight"=>10}, {"value"=>"${details.aggregatedWeights.userVelocityByIp}", "weight"=>5}], "between"=>{"minScore"=>80, "maxScore"=>100}}}]}