Skip to content

Set task priority and due date

PATCH
/v1/tasks/{taskId}/planning
curl --request PATCH \
--url https://api.varman.io/v1/tasks/tsk_abc123def456/planning \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <X-API-Key>' \
--data '{ "priority": "urgent", "dueDate": "2027-03-31T00:00:00.000Z" }'

Sets the planning priority and due date of a compliance task. Send null to clear either field. Used by inline editing in task and project tables.

taskId
required
string

Example

tsk_abc123def456
X-Organization-Id
string
Media typeapplication/json
object
priority

Task priority, or null to clear

string
nullable
Allowed values: urgent high medium low

Example

high
dueDate

Due date (ISO 8601), or null to clear

string format: date-time
nullable

Example

2027-03-31T00:00:00.000Z