Update Custom Risk Predictor
PUT {{apiPath}}/environments/{{envID}}/riskPredictors/{{riskPredictorID}}
This PingOne collection contains only the requests without documentation. For the official PingOne Platform API documentation, see Update Custom Risk Predictor.
Request Body
{"name"=>"My Danger Predictor", "licensed"=>true, "map"=>{"high"=>{"list"=>["Dangerous", "Insanely Dangerous", "Unspeakably Dangerous"], "contains"=>"${event.danger.type}"}, "medium"=>{"list"=>["Kinda Dangerous", "Not Very Dangerous"], "contains"=>"${event.danger.type}"}, "low"=>{"list"=>["Kinda Safe", "Safe"], "contains"=>"${event.danger.type}"}}, "default"=>{"weight"=>5, "result"=>{"level"=>"HIGH", "type"=>"VALUE"}}}