E-tablodaki değerleri temizler. Arayan, e-tablo kimliğini ve aralığını belirtmelidir. Yalnızca değerler temizlenir; hücrenin diğer tüm özellikleri (biçimlendirme, veri doğrulama vb.) korunur.
HTTP isteği
POST https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values/{range}:clear
Bir e-tablodaki değer aralığını temizlerken verilen yanıt.
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
JSON gösterimi
{"spreadsheetId": string,"clearedRange": string}
Alanlar
spreadsheetId
string
Güncellemelerin uygulandığı e-tablo.
clearedRange
string
Temizlenen aralık (A1 gösteriminde). (İstek sınırsız bir aralık veya sayfanın sınırlarından daha büyük bir aralık için yapılmışsa bu, temizlenen ve sayfanın sınırlarıyla sınırlı olan gerçek aralık olacaktır.)
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-09-05 UTC."],[[["Clears values from a specified spreadsheet and range while preserving formatting and other cell properties."],["Requires the spreadsheet ID and range in the request URL."],["Sends an empty request body and receives a response indicating the spreadsheet ID and cleared range."],["Needs authorization with specific OAuth scopes like `https://www.googleapis.com/auth/spreadsheets` or similar."]]],["To clear values in a spreadsheet, send a `POST` request to `https://sheets.googleapis.com/v4/spreadsheets/{spreadsheetId}/values/{range}:clear`. Include the `spreadsheetId` and `range` as path parameters. The request body must be empty. A successful response will contain the `spreadsheetId` and the `clearedRange` in the response body. This operation requires specific authorization scopes like `drive`, `drive.file`, or `spreadsheets`.\n"]]