DELETE
https://api.craftkit.dev/v1/templates/{slug}slug. The row is retained (marked deleted) but its slug is freed, so
the same canonical slug can be recreated by POST /v1/templates or
PUT /v1/templates/:slug. This is the cleanup path for idempotent
provisioning and for retiring a template you no longer render.
Authorization
string
required
Bearer ck_live_… — must own the project.Path
string
required
The slug of the template to delete.
Response
200:
string
The deleted template’s id.
string
The original (now-freed) slug, echoed back.
string
ISO-8601 timestamp of the soft-delete.
404 — the operation is idempotent in effect.
Errors
cURL
200