On this page

DELETE/templates/:templateId

Credits: 0 (no credit refund)
Rate limit: 30 / minute (shared control bucket)


Purpose

Permanently delete an agent / template (manual or Full Auto). In-progress campaigns that used it are paused and unassigned.


Request

DELETE /templates/:templateId
X-API-Key: sk_live_...

Response 200

{
  "id": "<templateId>",
  "updatedCampaigns": 2,
  "pausedCampaigns": 1
}

MCP

Tool: delete_template — irreversible; confirm with the user first.