Delete Rule
DELETEhttps://api.confident-ai.com/v2/evaluation-rules/{evaluationRuleId}
Permanently deletes an evaluation rule. Metric results it already produced are kept; only the rule stops running. This action cannot be undone.
curl -X DELETE "https://api.confident-ai.com/v2/evaluation-rules/{evaluationRuleId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"id": "<EVALUATION-RULE-ID>"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
evaluationRuleIdstringRequiredThe id of the evaluation rule.
Response
Delete Rule succeeded.
successbooleanIndicates if the request was successful.
dataobjectA reference to an evaluation rule by its id.
Show 1 propertyHide 1 property
idstringThe id of the rule, generated by Confident AI.
deprecatedbooleanIndicates if this endpoint is deprecated.