Clear Project Model Override
(v2)DELETE
Removes a project model override and falls back to the organization's default. Evaluation and decision models cannot be cleared. Idempotent when no override exists.
curl -X DELETE "https://api.confident-ai.com/v2/projects/{projectId}/models/{modelType}" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"source": "project"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
projectIdstringRequiredThe id of the project, which must belong to the organization your API key is scoped to.
modelTypeenumRequiredWhich of the project's models to act on.
Response
Clear Project Model Override succeeded.
successbooleanIndicates if the request was successful.
dataobjectConfirmation that the project no longer overrides this model type.
sourceis alwaysorganization, since the project now follows the organization's default.Show 1 propertyHide 1 property
sourceenumWhere the model in effect for a project comes from:
projectwhen the model is project scoped or has a project override, andorganizationwhen it follows the organization's default.Show 2 enum valuesHide 2 enum values
projectorganization
deprecatedbooleanIndicates if this endpoint is deprecated.