DELETE/templates/:id
Permanently delete an agent (any mode). Campaigns that use it are unassigned; campaigns that are in progress are paused so they never keep sending without an agent.
0 credits. Rate class: campaign_control (default 20/min).
Request
DELETE /templates/tpl_abc
X-API-Key: sk_live_...
curl -sS -X DELETE -H "X-API-Key: $KEY" \
"https://api.notiq.io/public/v1/templates/tpl_abc"
Response
{ "id": "tpl_abc", "deleted": true, "updatedCampaigns": 2, "pausedCampaigns": 1 }
Errors: 404 not_found (repeated DELETE is not a silent success) · 429 · 503.
MCP
Tool: delete_template. Confirm with the user before calling.