v3

latestOpenAPI 3.0.12026-07-31141518.3 KB

Remove the assignee from a task

post/open/v1/task/unassign

Request body

projectIdstring required

The ID of project which task is in

taskIdstring required

The ID of task to unassign

Response

OK

idstring

The ID of task

etagstring

Version identifier of task, returned after task changes

projectIdstring

The ID of project which task in

titlestring

Title of task

isAllDaystring

Is task all day, true or false

completedTimestring

Task completed time in "yyyy-MM-dd'T'HH:mm:ssZ", Example "2019-11-13T03:00:00+0000

contentstring

Content of task

descstring

Description of checklist

dueDatestring

Task due date time in "yyyy-MM-dd'T'HH:mm:ssZ", Example "2019-11-13T03:00:00+0000"

priorityinteger

Task priority, None is 0, Low is 1, Medium is 3, High is 5

remindersstring[]

List of reminder trigger, Example ["TRIGGER:P0DT9H0M0S","TRIGGER:PT0S"]

repeatFlagstring

Recurring rules of task, Example "RRULE:FREQ=DAILY;INTERVAL=1"

repeatFrom'0' | '1' | '2'

Recurrence calculation mode. This field only takes effect when repeatFlag is present. "0" (REPEAT_FROM_DUEDATE): Repeat from the original due or scheduled date. The next occurrence is based on dueDate and repeatFlag, for fixed schedules such as "every Monday". "1" (REPEAT_FROM_COMPLETETIME): Repeat from the completion date while preserving the original time of day, for rules such as "3 days after completion". No next occurrence is generated without a completion time. "2" (REPEAT_FROM_DEFAULT): Default calendar recurrence. It uses the task time zone, skips expired historical occurrences, and advances to the next applicable occurrence. The server usually uses "2" when this field is omitted or empty. Both "0" and "2" follow calendar or scheduled recurrence rules, but "2" advances from the current date in the task time zone and is the recommended default for ordinary daily, weekly, or monthly recurrence.

sortOrderinteger

Sort order value of task, Example 12345

startDatestring

Start data time in "yyyy-MM-dd'T'HH:mm:ssZ", Example "2023-04-23T12:00:00+0000"

status-1 | 0 | 2

Task completion status, Abandoned is -1, Normal is 0, Completed is 2

assigneeUsernamestring

Username of the project member assigned to the task

timeZonestring

Task timezone, Example "America/Los_Angeles"