Delete Risk Predictor
DELETE {{apiPath}}/environments/{{envID}}/riskPredictors/{{riskPredictorID}}
The PUT /environments/{{envID}}/riskPredictors/{{riskPredictorID}}
operation deletes the custom risk predictor specified by its ID in the request URL. Only risk predictors with a type
property value set to MAP
can be deleted.
Note: If a risk predictor is in use by an existing risk policy, it cannot be deleted. To delete the risk predictor, you must delete the associated risk policy before attempting the delete operation. Alternatively, you can remove the usage of the predictor in the risk policy by setting the predictor's weight to 0 and removing it from the overrides
section. For information about risk policies and risk policy sets, see Risk Policies.
Similarly, you cannot delete a predictor that is currently used in a composite predictor.
When successful, the DELETE
request returns a code 204 No Content
message.