Kalpana Docs
Resources

Rename a template collection

Change a collection's name or description.

PATCH /api/template-collections/{id}

Requires templates:update.

FieldRequiredDescription
workspaceYesWorkspace slug or id.
nameYesNew name. Cannot be empty.
descriptionNoNew description. Send null to clear it. Leave it out to keep it.
curl --request PATCH "https://app.kalpana.one/api/template-collections/COLLECTION_ID" \
  --header "x-api-key: $KALPANA_API_KEY" \
  --header "content-type: application/json" \
  --data '{"workspace":"acme","name":"Festive sale 2026"}'

Response

{
  "id": "0192f8a4-6c1e-7c3a-9b0e-4d2f1a7e5c11",
  "workspaceId": "ws_123",
  "name": "Festive sale 2026",
  "description": null,
  "createdBy": "user_123",
  "createdAt": "2026-09-01T10:00:00.000Z",
  "updatedAt": "2026-09-03T09:00:00.000Z"
}

An id that is not a collection in this workspace changes nothing, and the response has no body.

Errors

StatusCause
403Your role or key lacks templates:update.
500Another collection already has this name, ignoring case. The message is Failed to rename template collection.
Was this page helpful?

Updated 4 Nov 2026

On this page