
Google Workspace DeleteSpreadsheet
CertifiedDelete a Google Spreadsheet
Google Workspace DeleteSpreadsheet
Certified
Delete a Google Spreadsheet
Deletes a spreadsheet by ID using a service account; calls Drive delete under the hood
yaml
type: io.kestra.plugin.googleworkspace.sheets.DeleteSpreadsheetExamples
Deletes a spreadsheet in google workspace
yaml
id: googleworkspace_sheets_delete
namespace: company.team
inputs:
- id: serviceAccount
type: STRING
tasks:
- id: delete_spreadsheet
type: io.kestra.plugin.googleworkspace.sheets.DeleteSpreadsheet
serviceAccount: "{{ inputs.serviceAccount }}"
spreadsheetId: "xxxxxxxxxxxxxxxx"
Properties
spreadsheetId *Requiredstring
Spreadsheet ID
ID of the spreadsheet to delete
pluginDefaultsRef Non-dynamicstring
Reference (ref) of the pluginDefaults to apply to this task.
readTimeout integerstring
Default
120The read timeout for the request (in seconds)
scopes array
SubTypestring
Default
["https://www.googleapis.com/auth/spreadsheets"]The GCP scopes to used
serviceAccount string
The GCP service account key
Outputs
spreadsheetId string
Deleted spreadsheet ID