Last Updated: Mar 15, 2021
Use this function to delete a file in Google Drive.
Delete File (id, private_key, client_email)
| Input Parameter Name | Description | 
|---|---|
| id | Id of the folder or file | 
| private_key | Private key of the service account | 
| client_email | Email ID of the service account | 
| Return Value | Description | 
|---|---|
| Output | 
  | 
Delete File (XYZ123, —–BEGIN PRIVATE KEY—–\nABCD\n—–END PRIVATE KEY—–, name@project-id.iam.gserviceaccount.com)
To view all the Google Drive functions, click here.