companyId clears any existing tenantId on the task and vice versa. A task can be linked to either, but not both.
For TypeScript, the GraphQL SDK gives you a fully typed client for these operations.
task:edit
Mutation
Variables
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Change individual fields on a task, including who and what it is linked to.
companyId clears any existing tenantId on the task and vice versa. A task can be linked to either, but not both.
task:editmutation updateTask($input: UpdateTaskInput!) {
updateTask(input: $input) {
task {
id
ref
title
status
priority
}
error {
message
type
code
fields {
field
message
type
}
}
}
}
{
"input": {
"taskId": "ta_01HXXXXXXXXXXXXXXXXXXXXXXX",
"status": "DONE"
}
}
Was this page helpful?
