Method: tasklists.delete
Deletes the authenticated user's specified task list. If the list contains assigned tasks, both the assigned tasks and the original tasks in the assignment surface (Docs, Chat Spaces) are deleted.
HTTP request
DELETE https://tasks.googleapis.com/tasks/v1/users/@me/lists/{tasklist}
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
For more information, see the Authorization guide.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-04 UTC.
[null,null,["Last updated 2024-09-04 UTC."],[[["Deletes the authenticated user's specified task list, including assigned tasks and their originals in Docs and Chat Spaces."],["Uses a DELETE request to `https://tasks.googleapis.com/tasks/v1/users/@me/lists/{tasklist}` with the task list ID as a path parameter."],["Requires an empty request body and returns an empty response body upon success."],["Needs authorization with the `https://www.googleapis.com/auth/tasks` OAuth scope."]]],[]]