Delete Template
DELETEhttps://api.confident-ai.com/v2/report-templates/{reportTemplateId}
Permanently deletes a report template and the schedule that generates it. This cannot be undone, and every report it generated becomes unreachable — set enabled to false instead to pause generation while keeping past reports readable.
curl -X DELETE "https://api.confident-ai.com/v2/report-templates/{reportTemplateId}" \
-H "CONFIDENT_API_KEY: <PROJECT-API-KEY>"{
"success": true,
"data": {
"id": "<REPORT-TEMPLATE-ID>"
},
"deprecated": false
}Headers
CONFIDENT_API_KEYstringRequiredThe API key of your Confident AI project.
Path parameters
reportTemplateIdstringRequiredThe id of the report template.
Response
Delete Template succeeded.
successbooleanIndicates if the request was successful.
dataobjectA reference to a report template by its id.
Show 1 propertyHide 1 property
idstringThe id of the report template, generated by Confident AI.
deprecatedbooleanIndicates if this endpoint is deprecated.