ניקוי טווח ערכים אחד או יותר מגיליון אלקטרוני. מבצע הקריאה החוזרת צריך לציין את המזהה של הגיליון האלקטרוני וטווח אחד או יותר. רק הערכים יימחקו – כל שאר המאפיינים של התא (כמו עיצוב ואימות נתונים) יישמרו.
בקשת HTTP
POST https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values:batchClear
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2024-10-15 (שעון UTC)."],[[["Clears one or more ranges of values from a spreadsheet, keeping all formatting and data validation."],["Requires specifying the spreadsheet ID and the ranges to clear using A1 or R1C1 notation."],["Returns the spreadsheet ID and a list of the cleared ranges, bounded by the sheet's limits if necessary."],["Needs authorization with specific OAuth scopes related to Google Drive or Spreadsheets."]]],["This describes clearing spreadsheet values using a `POST` request to `https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values:batchClear`. The `spreadsheetId` is a path parameter. The request body, in JSON, specifies `ranges` (using A1 or R1C1 notation) to be cleared. The successful response body includes the `spreadsheetId` and the `clearedRanges` (in A1 notation). This operation requires authorization via OAuth scopes like `drive`, `drive.file`, or `spreadsheets`. Only the cell values are removed, keeping other properties.\n"]]