Actions17
Folder → Delete
AI-generatedSummary
Deletes the selected Google Drive folder, either to trash or permanently.
Inputs
- Authentication (required) — Authentication method: OAuth2 (recommended) or Service Account.
- Folder (required) — The folder to delete. Can be chosen from a list, provided as a Drive folder link, or entered directly as a folder ID.
- Delete Permanently — Whether to delete the folder immediately. If false, the folder is moved to the trash.
Output shape
The Google Drive API response from the delete operation.
Returns the API response for the delete request.
Examples
Example 1: Use this operation to remove unwanted folders from Google Drive in an automated workflow, for example after a backup or when a project is archived.
Delete a folder from Google Drive. Select the folder by browsing, pasting a Drive folder link, or entering its ID. By default, the folder is moved to the trash. Turn on 'Delete Permanently' to permanently delete it instead.