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.
curl -X DELETE "https://api.confident-ai.com/v2/projects/{projectId}" \
-H "CONFIDENT_API_KEY: <ORGANIZATION-API-KEY>"{
"success": true,
"data": {
"id": "<PROJECT-ID>"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe organization API key for your Confident AI organization.
Path parameters
projectIdstringRequiredThe id of the project. It must belong to the organization your API key is scoped to.
Response
Delete Project succeeded.
successbooleanIndicates if the request was successful.
dataobjectConfirmation that the project was deleted.
Show 1 propertyHide 1 property
idstringThe id of the project that was deleted.
deprecatedbooleanIndicates if this endpoint is deprecated.