Delete Project
(v2)DELETE
Permanently deletes a project. This cannot be undone, and it cascades to everything held under it: API keys (including one an SDK may be configured with), members and role assignments, invitations, datasets, prompts, metrics, test runs, dashboards, annotation queues, red teaming frameworks, policies, alerts and export schedules. Ingested traces and spans stop being reachable. There is no confirmation step, so the safe way to retire a project is to deactivate its API keys first. Its name becomes available for reuse.
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.