Skip to main content
Tasks

Update a task

Update a task created by the same API credential. User-created and private tasks cannot be changed.

PATCH
/tasks/{taskId}

Send at least one supported field. Omitted fields stay unchanged; dueDate: null clears the due date and assignedTo: null clears the assignee.

Permissions

tasks.write

Safe retries

Send an Idempotency-Key. Retry the same request with the same key to avoid repeating the write. See Safe retries & idempotency.

Authorizationstringheaderrequired

Use Authorization: Bearer <api-credential>.

taskIdnumberrequired

CVViZ task identifier.

Example: 7301
Idempotency-Keystringheaderrequired

Unique key for this write: 8-128 letters, digits, periods, underscores, colons or hyphens. Reusing the same key with the same request replays its original result; different content returns 409.

Required string length: 8 - 128
Pattern: ^[A-Za-z0-9._:-]{8,128}$
Example: cvviz-integration-operation-001

Body

application/json
assignedTointeger | null

Active user ID from GET /users. Omit to preserve the current assignee; send null to clear it.

Required range: 1 <= x
Example: 18
dueDatestring | null

Omit to preserve the current due date; send null to clear it.

notestring
Required string length: 1 - 5000
Example: Follow up tomorrow.

Response

application/json

Mutation applied or safely replayed.

X-API-Daily-Limitintegerheader

Daily account request allowance, when metered. Shared across API credentials.

Required range: 0 <= x
X-API-Daily-Remainingintegerheader

Requests remaining in the daily window after admission.

Required range: 0 <= x
X-API-Daily-Resetstringheader

Daily window reset time in UTC.

X-API-Monthly-Limitintegerheader

Monthly account request allowance, when metered. Shared across API credentials.

Required range: 0 <= x
X-API-Monthly-Remainingintegerheader

Requests remaining in the monthly window after admission.

Required range: 0 <= x
X-API-Monthly-Resetstringheader

Monthly window reset time in UTC.

X-Request-IDstringheader

Request correlation identifier.

X-API-Contractstringheader

Response envelope contract version.

Example: canonical-v1
RateLimit-Limitintegerheader
Example: 600
RateLimit-Remainingintegerheader
Example: 598
RateLimit-Resetintegerheader
Example: 30
dataobjectrequired