Skip to content

Update a task list

PATCH /v1/lists/{listId}

Updates attributes of an existing task list. Only fields you provide are changed. The API key’s owner must be a member of the list.

To change the archived state, use the dedicated Archive a task list and Unarchive a task list endpoints.

Connected web clients in the team receive a realtime tasklists refetch event so the change appears immediately in their sidebar.

NameTypeRequiredDescription
listIdstringyesNumeric ID of the list.

Content-Type: application/json

FieldTypeRequiredDescription
namestringnoNew display name. Must contain at least one non-whitespace character.
colorstringnoNew color tag. See valid values below.

Valid color values: Gray, Red, Orange, Yellow, Amber, Lime, Green, Teal, Sky, Blue, Purple, Pink.

{
  "name": "Q3 launch — frozen scope",
  "color": "Amber"
}

200 OK — the updated list:

FieldTypeDescription
idnumberNumeric ID of the list.
namestringDisplay name after the update.
colorstringColor tag after the update.
isArchivedbooleanArchived state (unchanged by this endpoint).
{
  "id": 27,
  "name": "Q3 launch — frozen scope",
  "color": "Amber",
  "isArchived": false
}
StatusBodyWhen
400{ "error": "..." }listId is not numeric, name is empty, or color is invalid.
403{ "error": "You do not have access to this list." }The API key’s owner is not a member of the list.
404{ "error": "List <id> not found." }No list with that ID exists in the bound team.