Launch Week 3: Five days of launches

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.

DELETE/v2/projects/{projectId}/models/{modelType}
curl -X DELETE "https://api.confident-ai.com/v2/projects/{projectId}/models/{modelType}" \
  -H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"
200
{
  "success": true,
  "data": {
    "source": "project"
  },
  "deprecated": false
}

Headers

  • CONFIDENT_API_KEYstringRequired

    The organization API key for your Confident AI organization.

Path parameters

  • projectIdstringRequired

    The id of the project, which must belong to the organization your API key is scoped to.

  • modelTypeenumRequired

    Which of the project's models to act on.

Response

Clear Project Model Override succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    Confirmation that the project no longer overrides this model type. source is always organization, since the project now follows the organization's default.

    Show 1 propertyHide 1 property
    • sourceenum

      Where the model in effect for a project comes from: project when the model is project scoped or has a project override, and organization when it follows the organization's default.

      Show 2 enum valuesHide 2 enum values
      • project
      • organization
  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI