Method: tasks.clear

Stay organized with collections Save and categorize content based on your preferences.

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

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
tasklist

string

Task list identifier.

Request body

The request body must be empty.

Response body

If successful, the response body is empty.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/tasks