Skip to main content
PATCH
Add and remove labels on many of an owner's stored tasks

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

Body

application/json
names
string[]
required

The owner's tasks to change; all must exist

Required array length: 1 - 1000 elements
Maximum string length: 400
Pattern: ^[A-Za-z0-9][A-Za-z0-9_.-]*(/[A-Za-z0-9][A-Za-z0-9_.-]*)*$
add
string[]
Maximum array length: 64
Required string length: 1 - 200
Pattern: ^[^\x00-\x1f\x7f]+$
remove
string[]
Maximum array length: 64
Required string length: 1 - 200
Pattern: ^[^\x00-\x1f\x7f]+$
dry_run
boolean
default:false

Answer what would change; change nothing

Response

Successful Response

total
integer
required

Tasks named in the request

updated
integer
required

Tasks whose labels changed, or would

unchanged
integer
required
dry_run
boolean
required
changes
TaskLabelChange · object[]
required

One per updated task