Method: tasklists.delete
מוחק את רשימת המשימות שצוינה של המשתמשים המאומתים. אם הרשימה כוללת משימות שהוקצו, גם המשימות שהוקצו וגם המשימות המקוריות בפלטפורמת המטלה (Docs, מרחבים ב-Chat) יימחקו.
בקשת HTTP
DELETE https://tasks.googleapis.com/tasks/v1/users/@me/lists/{tasklist}
בכתובת ה-URL נעשה שימוש בתחביר המרת קידוד של gRPC.
פרמטרים של נתיב
פרמטרים |
tasklist |
string
מזהה רשימת המשימות.
|
גוף הבקשה
גוף הבקשה חייב להיות ריק.
גוף התשובה
אם הביצוע יהיה תקין, גוף התגובה יהיה ריק.
היקפי ההרשאות
נדרש היקף ההרשאות הבא של OAuth:
https://www.googleapis.com/auth/tasks
מידע נוסף זמין במדריך להרשאות.
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-05 (שעון UTC).
[null,null,["עדכון אחרון: 2024-09-05 (שעון 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."]]],["This document details the process of deleting a user's task list via an HTTP DELETE request. The request, made to `https://tasks.googleapis.com/tasks/v1/users/@me/lists/{tasklist}`, uses the `tasklist` path parameter to identify the list. The request body must be empty. A successful operation returns an empty response body. Deleting a list with assigned tasks deletes both the assigned and original tasks. The `https://www.googleapis.com/auth/tasks` authorization scope is required.\n"]]