---
title: "Update a template"
method: PATCH
path: "/v1/workspaces/{workspaceId}/templates/{templateId}"
tags: ["Template (Deprecated)"]
deprecated: true
---

# Update a template

`PATCH /v1/workspaces/{workspaceId}/templates/{templateId}`

> **Deprecated.**

## Path parameters

- `workspaceId` string, required — Represents a workspace identifier across the system.
- `templateId` string, required — Represents a template identifier across the system.

## Request body

- TemplatePatchRequest
  - `name` string, required — Represents a template name.

## Response `200`

OK

- TemplateDtoImpl
  - `entries` TimeEntryWithCustomFieldsDto[] — Represents a set of template time entries.
    - `billable` boolean — Indicates whether a time entry is billable.
    - `customFieldValues` CustomFieldValueDto[] — Represents a list of custom field value objects.
      - `customFieldId` string — Represents custom field identifier across the system.
      - `sourceType` 'WORKSPACE' | 'PROJECT' | 'TIMEENTRY' — Represents a custom field value source type.
      - `timeEntryId` string — Represents time entry identifier across the system.
      - `value` object — Represents custom field value.
    - `description` string — Represents a time entry description.
    - `id` string — Represents a time entry identifier across the system.
    - `projectId` string — Represents a project identifier across the system.
    - `tagIds` string[] — Represents a list of tag identifiers across the system.
    - `taskId` string — Represents a task identifier across the system.
    - `timeInterval` TimeIntervalDto — Represents a time interval object.
      - `duration` string — Represents a time duration.
      - `end` string, date-time
      - `offsetEnd` integer
      - `offsetStart` integer
      - `start` string, date-time
      - `timeZone` string
      - `zonedEnd` string, date-time
      - `zonedStart` string, date-time
    - `type` 'REGULAR' | 'BREAK' | 'HOLIDAY' | 'TIME_OFF' — Represents a time entry type enum.
    - `userId` string — Represents a user identifier across the system.
    - `workspaceId` string — Represents a workspace identifier across the system.
  - `id` string — Represents a template identifier across the system.
  - `name` string — Represents a template name.
  - `projectsAndTasks` ProjectTaskTupleDto[] — Represents a list of template's projects and tasks.
    - `projectId` string — Represents a project identifier across the system.
    - `taskId` string — Represents a task identifier across the system.
  - `userId` string — Represents a user identifier across the system.
  - `weekStart` string, date — Represents a day of the week.
  - `workspaceId` string — Represents a workspace identifier across the system.

## Changes

- **2026-08-20** `a5b636acbcd8` — 19 info
  - the `name` request property default value `` was added
  - the `` response's property default value `` was added for the status `200`
  - the `customFieldId` response's property default value `` was added for the status `200`
  - the `description` response's property default value `` was added for the status `200`
  - …15 more

[Change history](https://skmtc.dev/clockify/apis/clockify-api/changes/v1/workspaces/:workspaceId/templates/:templateId/patch.md)

---

[API](https://skmtc.dev/clockify/apis/clockify-api.md) · [All operations](https://skmtc.dev/clockify/apis/clockify-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/clockify/clockify-api/revisions/a5b636acbcd8/schema)
