Update a task
$ lightfield task update
POST/v1/tasks/{id}
Updates an existing task by ID. Only included fields and relationships are modified.
The $note relationship is read-only — manage notes via their own relationships.
Supports idempotency via the Idempotency-Key header.
Required scope: tasks:update
Rate limit category: Write
Parameters
--fields: optional object { "$description", "$dueAt", "$status", "$title" }
Field values to update — only provided fields are modified; omitted fields are left unchanged. Tasks only support the documented system fields, all prefixed with $ (e.g. $title, $status). Call the definitions endpoint for available fields. See Fields and relationships for value type details.
Update a task
lightfield task update \
--api-key 'My API Key' \
--id id{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink",
"relationships": {
"foo": {
"cardinality": "cardinality",
"objectType": "objectType",
"values": [
"string"
]
}
},
"updatedAt": "updatedAt",
"externalId": "externalId"
}Returns Examples
{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink",
"relationships": {
"foo": {
"cardinality": "cardinality",
"objectType": "objectType",
"values": [
"string"
]
}
},
"updatedAt": "updatedAt",
"externalId": "externalId"
}