Resources
Delete a template
Remove a template from the workspace.
DELETE /api/templates/{id}Requires templates:delete.
| Field | Required | Description |
|---|---|---|
workspace | Yes | Workspace slug or id. |
curl --request DELETE "https://app.kalpana.one/api/templates/tpl_123" \
--header "x-api-key: $KALPANA_API_KEY" \
--header "content-type: application/json" \
--data '{"workspace":"acme"}'Response
{ "success": true }The template's pages and flows are removed with it. The template disappears from List templates and can no longer be used by new batch rows. Rows that already use it stay in their batches, but they can no longer be run.
Errors
| Status | Cause |
|---|---|
403 | Your role or key lacks templates:delete. |
404 | The template is not in this workspace or is already deleted. |
Was this page helpful?
Updated 4 Nov 2026