Launch Week 02 wrapped — explore all five launches

Delete Project

DELETEhttps://api.confident-ai.com/v2/projects/{projectId}

Permanently deletes a project. This cannot be undone, and it cascades: everything held under the project goes with it — its API keys (including the one an SDK may be configured with), its members and their role assignments, pending invitations, datasets, prompts and their versions, metrics and metric collections, test runs and their results, dashboards, annotation queues and forms, red teaming frameworks and risk assessments, policies, alerts and export schedules. Ingested traces and spans stop being reachable once the project is gone. There is no confirmation step and no recovery, so the safe way to retire a project is to deactivate its API keys first. The project's name becomes available for reuse within the organization.

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

Headers

  • CONFIDENT_API_KEYstringRequired

    The organization API key for your Confident AI organization.

Path parameters

  • projectIdstringRequired

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

Response

Delete Project succeeded.

  • successboolean

    Indicates if the request was successful.

  • dataobject

    Confirmation that the project was deleted.

    Show 1 propertyHide 1 property
    • idstring

      The id of the project that was deleted.

  • deprecatedboolean

    Indicates if this endpoint is deprecated.

Built byConfident AI