Skip to content

Update a template's name, description, category or structure

PATCH
/project-templates/{templateId}
Code sample: Shell / cURL
curl --request PATCH \
--url https://example.com/api/v1/project-templates/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "category": "example", "description": "example", "isDefault": true, "name": "example", "structure": { "automations": [ { "actions": "example", "branches": "example", "conditions": "example", "isActive": true, "name": "example", "triggers": "example" } ], "customFields": [ { "config": { "additionalProperty": "example" }, "description": "example", "id": "example", "isRequired": true, "name": "example", "options": [ "example" ], "position": 1, "type": "TEXT" } ], "libraryFields": [], "statuses": [ { "category": "BACKLOG", "color": "example", "id": "example", "name": "example", "position": 1 } ], "tasks": [ { "assigneeId": null, "description": "example", "dueInDays": null, "labelIds": [], "priority": "NONE", "priorityOptionId": "example", "statusId": "example", "subtasks": [], "title": "example" } ], "views": [ { "config": { "additionalProperty": "example" }, "id": "example", "isDefault": true, "name": "example", "position": 1, "type": "BOARD" } ], "workflowId": null } }'

Requires the projects.manage permission. structure replaces the whole structure the template applies, validated as a stored template is; read it with GET /project-templates/{templateId}, edit it and send it back. Projects already created from the template keep their own copy; the next project created from it takes the new structure.

templateId
required

Project template identifier (CUID2).

string
>= 1 characters

Project template identifier (CUID2).

Media typeapplication/json
object
category
Any of:
string
<= 60 characters
description
Any of:
string
<= 2000 characters
isDefault

True makes it the template every new project starts from, replacing the current one; false stops it being that one.

boolean
name
string
>= 1 characters <= 120 characters
structure

Replaces the whole structure the template applies, as GET /project-templates/{id} returns it. Projects already created from the template do not change.

object
automations
required
Array<object>

A captured automation, validated against the automation contract only when a project is created from the template.

object
actions
required
branches
required
conditions
required
isActive
required
boolean
name
required
string
>= 1 characters
triggers
required
customFields
required
Array<object>
object
config
required
Any of:
object
key
additional properties
description
required
string | null
id
required

Id of the row in the project the template was captured from; remapped on use.

string
>= 1 characters
isRequired
required
boolean
name
required
string
>= 1 characters
options
required
Any of:
Array
position
required
integer
>= -9007199254740991 <= 9007199254740991
type
required
string
Allowed values: TEXT NUMBER DATE CHECKBOX SELECT MULTI_SELECT MEMBER URL EMAIL CURRENCY PERCENT FORMULA ID TIMER REFERENCE FILE RATING PROGRESS STATUS
libraryFields
Array<object>
default:
object
fieldId
required
string
>= 1 characters
position
required
integer
>= -9007199254740991 <= 9007199254740991
statuses
required
Array<object>
object
category
required

BACKLOG, UNSTARTED, STARTED or COMPLETED; the old TODO, IN_PROGRESS and DONE map to UNSTARTED, STARTED and COMPLETED. A COMPLETED status completes the task.

string
Allowed values: BACKLOG UNSTARTED STARTED COMPLETED TODO IN_PROGRESS DONE
color
required
string
id
required

Id of the row in the project the template was captured from; remapped on use.

string
>= 1 characters
name
required
string
>= 1 characters
position
required
integer
>= -9007199254740991 <= 9007199254740991
tasks
required
Array<object>
object
assigneeId
Any of:
string
>= 1 characters
description
required
string | null
dueInDays

Days from the project’s start date to the task’s due date; null leaves it undated.

Any of:
integer
>= -9007199254740991 <= 9007199254740991
labelIds
Array<string>
default:
priority
required
string
Allowed values: NONE LOW MEDIUM HIGH URGENT
priorityOptionId
string | null
statusId
required
Any of:
string
>= 1 characters
subtasks
Array<object>
default:
object
assigneeId
Any of:
string
>= 1 characters
description
required
string | null
dueInDays

Days from the project’s start date to the task’s due date; null leaves it undated.

Any of:
integer
>= -9007199254740991 <= 9007199254740991
labelIds
Array<string>
default:
priority
required
string
Allowed values: NONE LOW MEDIUM HIGH URGENT
priorityOptionId
string | null
statusId
required
Any of:
string
>= 1 characters
title
required
string
>= 1 characters
title
required
string
>= 1 characters
views
required
Array<object>
object
config
required
Any of:
object
key
additional properties
id
required

Id of the row in the project the template was captured from; remapped on use.

string
>= 1 characters
isDefault
required
boolean
name
required
string
>= 1 characters
position
required
integer
>= -9007199254740991 <= 9007199254740991
type
required
string
Allowed values: BOARD LIST TIMELINE CALENDAR OVERVIEW FILES DASHBOARD
workflowId

The workflow a new project takes when it still exists.

Any of:
string
>= 1 characters

The updated template.

Media typeapplication/json
object
data
required

A reusable capture of one project’s structure: statuses, shared views, project custom fields, automations and optional seed tasks. GET /project-templates/{id} returns the structure, and PATCH replaces it.

object
category
required

Free text the gallery filters by.

string | null
counts
required

How much structure the template applies to a project.

object
automations
required
integer
>= -9007199254740991 <= 9007199254740991
customFields
required
integer
>= -9007199254740991 <= 9007199254740991
statuses
required
integer
>= -9007199254740991 <= 9007199254740991
tasks
required
integer
>= -9007199254740991 <= 9007199254740991
views
required
integer
>= -9007199254740991 <= 9007199254740991
createdAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
createdById
required

WorkspaceMember who saved the template; null once that member is removed.

string | null
description
required
string | null
id
required
string
isDefault

Whether a project a person creates without picking a template starts from this one. Absent on an older server.

boolean
lastUsedAt
required

When anyone last created a project from the template; null when never used.

Any of:
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
name
required
string
updatedAt
required
string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/

Example generated

{
"data": {
"category": "example",
"counts": {
"automations": 1,
"customFields": 1,
"statuses": 1,
"tasks": 1,
"views": 1
},
"createdAt": "2026-04-15T12:00:00Z",
"createdById": "example",
"description": "example",
"id": "example",
"isDefault": true,
"lastUsedAt": "2026-04-15T12:00:00Z",
"name": "example",
"updatedAt": "2026-04-15T12:00:00Z"
}
}

Validation error. Parse failures include field paths and expectations.

Media typeapplication/json

Validation error with safe field paths and expected values; submitted values are never returned.

object
error
required
object
code
required

Stable machine-readable error code.

string
issues
Array<object>
object
expected
required
string
message
required
string
path
required
Array<string | number>
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Unauthorized.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Forbidden.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Not found.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Conflict.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Invalid input.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}

Rate limit exceeded. Wait for Retry-After before retrying.

Media typeapplication/json

Standard error envelope.

object
error
required
object
code
required

Stable machine-readable error code.

string
message
required

Human-readable error message.

string
status
required

HTTP status code, mirrored in the body.

integer
>= -9007199254740991 <= 9007199254740991

Example

{
"error": {
"code": "UNAUTHORIZED"
}
}
RateLimit-Limit
string
/^\d+$/

Maximum requests in the current quota window.

RateLimit-Policy
string

Quota policy in requests and window seconds, for example 60;w=60.

RateLimit-Remaining
string
/^\d+$/

Requests left in this quota window (zero when blocked).

RateLimit-Reset
string
/^\d+$/

Seconds until the current quota window resets, when available from the rate-limit store.

Retry-After
string
/^\d+$/

Seconds until another request may be attempted.