> ## Documentation Index
> Fetch the complete documentation index at: https://www.plain.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a task

<Snippet file="graphql/sdk-note.mdx" />

Pass only the fields you want to change. Setting `companyId` clears any existing `tenantId` on the task and vice versa — a task can be linked to either, but not both.

This operation requires the following permissions:

* `task:edit`

<Snippet file="graphql/update-task.mdx" />
