Twake Drive icon

Twake Drive

Basic Twake Drive

Folder → Delete Folder

AI-generated

Overview

This node operation deletes a specified folder in Twake Drive. It supports selecting the target folder either via a dropdown browse mode or by manually entering the folder ID. This operation is useful for automating folder management tasks such as cleaning up unused directories or removing obsolete project folders in Twake Drive.

Use Case Examples

  1. Automatically delete a project folder by selecting it from a dropdown list of folders.
  2. Manually delete a folder by specifying its unique folder ID.

Properties

Name Meaning
File Select Mode Determines how the target folder is selected, either by browsing a dropdown list or by manually entering the folder ID.
Target Folder (Source) Name or ID The folder to delete, selected from a list or specified by expression. Leave empty to target the root folder. Only shown when File Select Mode is 'dropdown'.
Source Folder ID (Manual) The folder ID to delete, manually entered. Only shown when File Select Mode is 'byId'.

Output

JSON

  • json - The JSON output contains the result of the delete folder operation, typically confirmation or status information.

Dependencies

  • Requires Twake Drive OAuth2 API credentials for authentication.

Troubleshooting

  • If the folder ID or name is incorrect or does not exist, the node will throw an error indicating the folder could not be found.
  • If the OAuth2 credentials are invalid or expired, authentication errors will occur. Refresh or reconfigure credentials to resolve.
  • Ensure the user has sufficient permissions to delete the folder in Twake Drive, otherwise permission denied errors will be thrown.

Discussion