Resources
Delete a template collection
Delete a collection. The templates in it are kept.
DELETE /api/template-collections/{id}Requires templates:delete.
| Field | Required | Description |
|---|---|---|
workspace | Yes | Workspace slug or id. |
curl --request DELETE "https://app.kalpana.one/api/template-collections/COLLECTION_ID" \
--header "x-api-key: $KALPANA_API_KEY" \
--header "content-type: application/json" \
--data '{"workspace":"acme"}'Response
{ "success": true }Only the grouping is removed; every template stays in the workspace. An id that is not a collection in this workspace also returns { "success": true }.
Errors
| Status | Cause |
|---|---|
403 | Your role or key lacks templates:delete. |
Was this page helpful?
Updated 4 Nov 2026