Kalpana Docs
Resources

Delete a template collection

Delete a collection. The templates in it are kept.

DELETE /api/template-collections/{id}

Requires templates:delete.

FieldRequiredDescription
workspaceYesWorkspace 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

StatusCause
403Your role or key lacks templates:delete.
Was this page helpful?

Updated 4 Nov 2026

On this page