> ## Documentation Index
> Fetch the complete documentation index at: https://plain-docs-orca-916-agent-docs-restructure.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Update a task

> Change individual fields on a task, including who and what it is linked to.

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.

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

This operation requires the following permissions:

* `task:edit`

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