Skip to content
NTOMA
Esc
↑↓navigate↵open⌘Jpreview

Update a task

Omitting startAt/dueAt leaves them; sending null clears one.

PATCH/api/tasks/{id}
Authorization
AuthorizationBearer token (JWT) · headerrequired
Path parameters
idstringrequired
Header parameters
x-organization-idstring
Target organization id. Defaults to the caller's personal organization when omitted.
Request body
requiredapplication/json
startAtstring<date-time> | null
dueAtstring<date-time> | null
titlestring
statusstring
Allowed:QUEUEDIN_PROGRESSCOMPLETED
prioritystring
Allowed:LOWMEDIUMHIGH
Responses
200
403You do not belong to an active organization
Try it
Server
Authorization
Parameters
Bodyapplication/json
Request
curl -X PATCH "http://localhost:8000/api/tasks/string" \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "startAt": "2019-08-24T14:15:22Z",
  "dueAt": "2019-08-24T14:15:22Z",
  "title": "string",
  "status": "QUEUED",
  "priority": "LOW"
}'
Response
No example response.