Skip to main content
PATCH
Rename a stored task, edit its description or labels, or archive or restore it

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

owner
string
required

Owning user or team slug

Required string length: 1 - 255
name
string
required

The task's name; it may hold /

Maximum string length: 400
Pattern: ^[A-Za-z0-9][A-Za-z0-9_.-]*(/[A-Za-z0-9][A-Za-z0-9_.-]*)*$

Body

application/json

Only the fields sent are changed.

new_name
string | null

Renames the task

Maximum string length: 400
Pattern: ^[A-Za-z0-9][A-Za-z0-9_.-]*(/[A-Za-z0-9][A-Za-z0-9_.-]*)*$
description
string | null

Omit to keep it, null to clear it

Maximum string length: 4000
labels
string[] | null

Replaces every label

Maximum array length: 64
Required string length: 1 - 200
Pattern: ^[^\x00-\x1f\x7f]+$
archived
boolean | null

true archives: the task leaves normal lists and takes no new versions. false restores it. Nothing is deleted either way

Response

Successful Response

id
string
required
owner
string
required
name
string
required
description
string | null
required
labels
string[]
required
task_type
string
required
latest_version
integer
required
archived_at
string<date-time> | null
required

Set while the task is archived: it takes no new versions

created_at
string<date-time>
required
updated_at
string<date-time>
required
version
TaskVersionDetail · object
required

The version asked for

versions
TaskVersion · object[]
required

Newest first, at most 100

version_count
integer
required