Clears all completed tasks from the specified task list. The affected tasks will be marked as 'hidden' and no longer be returned by default when retrieving all tasks for a task list.
HTTP request
POST https://tasks.googleapis.com/tasks/v1/lists/{tasklist}/clear
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-04 UTC."],[[["Clears all completed tasks within a specified task list, marking them as hidden."],["Employs an HTTP POST request to the designated endpoint with the task list identifier."],["Requires an empty request body and returns an empty response body upon successful completion."],["Needs authorization with the `https://www.googleapis.com/auth/tasks` scope."]]],[]]