Stay organized with collections
Save and categorize content based on your preferences.
Clears one or more ranges of values from a spreadsheet. The caller must
specify the spreadsheet ID and one or more ranges. Only values are
cleared -- all other properties of the cell (such as formatting and data
validation) are kept.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Method: googleapis.sheets.v4.spreadsheets.values.batchClear\n\nClears one or more ranges of values from a spreadsheet. The caller must\nspecify the spreadsheet ID and one or more ranges. Only values are\ncleared -- all other properties of the cell (such as formatting and data\nvalidation) are kept.\n\nArguments\n---------\n\nRaised exceptions\n-----------------\n\nResponse\n--------\n\nIf successful, the response contains an instance of [`BatchClearValuesResponse`](https://cloud.google.com/workflows/docs/reference/googleapis/sheets/v4/Overview#BatchClearValuesResponse).\n\nSubworkflow snippet\n-------------------\n\nSome fields might be optional or required.\nTo identify required fields, refer to the [API documentation](https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchClear). \n\n### YAML\n\n```yaml\n- batchClear:\n call: googleapis.sheets.v4.spreadsheets.values.batchClear\n args:\n spreadsheetId: ...\n body:\n ranges: ...\n result: batchClearResult\n```\n\n### JSON\n\n```json\n[\n {\n \"batchClear\": {\n \"call\": \"googleapis.sheets.v4.spreadsheets.values.batchClear\",\n \"args\": {\n \"spreadsheetId\": \"...\",\n \"body\": {\n \"ranges\": \"...\"\n }\n },\n \"result\": \"batchClearResult\"\n }\n }\n]\n```"]]