Skip to main content
PATCH
Change a project template

Authorizations

Authorization
string
header
required

An API key, sent as Authorization: Bearer stfy_live_…. See Authentication for how to get one and which scopes it needs.

Path Parameters

template_id
string
required

Body

application/json
account_specific
boolean | null
assignee_role
string | null

An account role by key (a user field of the account, such as csm__c_): projects made from the template are assigned to the account's person in it. null: no role

cascade_dates
boolean | null
description
string | null
due_within
integer | null
Required range: 0 <= x <= 3650
name
string | null
Required string length: 1 - 255
project_status_template
string | null

A status template's id (GET /v1/status_templates) for its projects; null: the global one

task_status_template
string | null

A status template's id for its tasks; null: the global one

tasks
TaskBody · object[] | null

The template's tasks, all of them, in order: a task left out is removed

Maximum array length: 1000

Response

200 - application/json

Successful Response

account_specific
boolean
required

For an account's projects: a create from it then needs an account

assignee_role
string | null
required

The account role (a user field, by key) a project is assigned to

cascade_dates
boolean
required

Whether moving a task's dates moves the tasks that wait for it

due_within
integer
required

Days from the project's start the project is due

id
string
required
name
string
required
project_fields
string[]
required

The custom fields its projects have, by key

project_status_template
StatusTemplateRef · object | null
required

The status template its projects use; null: the workspace's global one

synced
boolean
required

Synced from another tool, which owns it: it cannot be changed or deleted here

task_fields
string[]
required

The custom fields its projects' tasks have, by key

task_status_template
StatusTemplateRef · object | null
required

The status template its tasks use; null: the workspace's global one

tasks
TemplateTask · object[]
required
created_at
string<date-time> | null
description
string | null
missing_fields
MissingField · object[]

Custom fields the template names that no longer exist