---
title: "PATCH Update a task template"
description: "Updates an existing task template by its unique identifier."
last_updated: "2026-05-06T07:33:46.870557+00:00"
canonical_url: "https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/api/framework-editor-task-templates/tasktemplatecontroller-updatetasktemplate"
---

<APIEndpoint
  method={"PATCH"}
  path={"/v1/framework-editor/task-template/:id"}
  summary={"Update a task template"}
  description={"Updates an existing task template by its unique identifier."}
  deprecated={false}
  baseUrl={""}
/>

## Parameters

<APIParameters parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}},{"name":"id","in":"path","required":true,"description":"The unique identifier of the task template.","schema":{"type":"string"}}]} />

## Request Body

Data to update the task template.

<APIRequestBody
  contentType={"application/json"}
  required={true}
  schema={{"type":"object"}}
/>

## Responses

<APIResponse
  statusCode={"200"}
  description={"Successfully updated the task template."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"400"}
  description={"Bad request due to invalid input data."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"401"}
  description={"Unauthorized."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"404"}
  description={"Task template with the given ID not found."}
  contentType={"application/json"}
/>

<APIResponse
  statusCode={"500"}
  description={"Internal server error."}
  contentType={"application/json"}
/>

## Try It

<APIPlayground
  method={"PATCH"}
  path={"/v1/framework-editor/task-template/:id"}
  parameters={[{"name":"X-Organization-Id","in":"header","required":false,"description":"Organization ID (required for session auth, optional for API key auth)","schema":{"type":"string"}},{"name":"id","in":"path","required":true,"description":"The unique identifier of the task template.","schema":{"type":"string"}}]}
  requestBody={{"contentType":"application/json","required":true,"description":"Data to update the task template.","schema":{"type":"object"}}}
  baseUrl={""}
/>


## Sitemap

See the full [sitemap](https://www.doc0.dev/docs/49c89830-117b-4def-8edc-b5bcc50766e0/llms.txt) for all pages in this wiki.
