PUT api/2.0/project/task/status This function requires authentication

Description

Updates a status of the tasks with the IDs specified in the request.

Parameters
Name Description Type Example
taskids
sent in body
Task IDs System.Int32[]
status
sent in body
New task status NotAccept = 0,Open = 1, Closed = 2,Disable = 3,Unclassified = 4,NotInMilestone = 5 NotAccept
statusId
sent in body
New custom status ID number 1234
Example
PUT api/2.0/project/task/status
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "taskids": [
    1234
  ],
  "status": "NotAccept",
  "statusId": 1234
}
Returns

Updated tasks