Update a task
Authorization
bearerAuth Your PerspecTask API key (starts with pt_live_). Each key carries scopes: tasks:read (GET), tasks:write (full create/update), and tasks:write:meta (create/update everything EXCEPT editing title/description of existing tasks — for automation that manages workflow without rewriting human-authored content).
In: header
Path Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X PATCH "https://example.com/tasks/string" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"title": "string",
"description": "string",
"encrypted": true,
"deadline": "string",
"deadline_date": "2019-08-24T14:15:22Z",
"status": "ACTIVE",
"completion": "string",
"worked_time": 0,
"priority": 1,
"created": "string",
"children": [
"4feb20ac-04ac-4bd8-9baa-d4924dafff88"
],
"parents": [
"4a2a1780-dcad-496e-bb7c-2bbf3a673e26"
]
}