This API allows clients to update the status of a task while enforcing business workflow rules. A task can only transition between specific statuses depending on its current state.Allowed Status TransitionsIf current status =new Allowed transitions:in-progresscanceleddeclinedIf current status =in-progress Allowed transitions:donecanceleddeclinedIf current status =done Allowed transition:new (re-open)If current status =declined Allowed transition:new (re-open)If current status =canceled Allowed transition:re-open (new)