update_task
Modify specific fields on an existing task while preserving all other data, recurrence, and reminders. Use an etag to prevent overwriting changes made by others.
Instructions
Change fields on an existing task. Only the fields given are touched; everything else on the task — including recurrence, reminders and properties written by other CalDAV clients — is preserved. Pass null to clear a field. Pass an etag to make the write conditional on nobody else having changed the task first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due | No | Due date: "YYYY-MM-DD" for a whole day, "YYYY-MM-DDTHH:MM:SS" for a local time, or "...Z" for UTC. null removes it. | |
| uid | Yes | The task uid. | |
| etag | No | Etag from get_task. The write is refused if the task changed since. Omit to overwrite unconditionally. | |
| list | No | Task list uri or display name. | |
| start | No | Start date, same format as due. null removes it. | |
| pinned | No | Nextcloud's pinned flag. | |
| status | No | Defaults to NEEDS-ACTION on a new task. | |
| summary | No | Task title. | |
| location | No | Free-text location. null removes it. | |
| priority | No | RFC 5545 priority: 1 is highest, 9 is lowest, 0 or null means none. The Tasks UI shows 1-4 as high, 5 as medium, 6-9 as low. | |
| parentUid | No | uid of the parent task, making this a subtask of it. Must be in the same list. null detaches it to the top level. | |
| sortOrder | No | Manual sort position within the list. | |
| categories | No | Tags, replacing any already set. null or [] removes them all. | |
| description | No | Longer notes. null or "" removes them. | |
| dueTimezone | No | IANA zone for a local due time, e.g. "Europe/London". Stored as the equivalent UTC instant. Not valid with a whole-day date or a "Z" time. | |
| hideSubtasks | No | Collapse this task's subtasks in the Tasks UI. | |
| startTimezone | No | IANA zone for a local start time. | |
| percentComplete | No | Progress, 0-100. Set automatically to 100 when status becomes COMPLETED. |