Deleted Google Sheet Row With Custom API

  • 18 March 2024
  • 0 replies
  • 8 views

Hi Guys,

 

I recenly successfully able to get zapier to delete a row through Custom Actionfunction. I can see that few people had the question about this before and i could not respond to the closed thread.

 

Input Fields

 

Method

POST https://sheets.googleapis.com/v4/spreadsheets/SPREADSHEET_ID:batchUpdate

Body

 in the Body you have a choice to insert below

To Delete A Row

{"requests": [{"deleteDimension": {"range":{ "sheetId": "{{SheetID}}", "dimension": "ROWS", "startIndex": "{{StartID}}", "endIndex": "{{EndID}}"}}},],}

 

 

To Delete A Column

{"requests": [{"deleteDimension": {"range":{ "sheetId": "{{SheetID}}", "dimension": "COLUMNS", "startIndex": "{{StartID}}", "endIndex": "{{EndID}}"}}},],}

 

 

 

 

Hope this help!


0 replies

Be the first to reply!

Reply