Actions11
Directory → Remove
AI-generatedSummary
Delete a directory from a specified WDS project, optionally removing all its contents recursively.
Inputs
- API Key — The API key used to authenticate with the WDS Service API. If omitted, credentials' API key will be used.
- Domain — The domain URL of the WDS project. Defaults to https://i.wiseverds.com if not provided or credentialed.
- Project ID (required) — The identifier of the project containing the directory to delete.
- Directory Path (required) — The path within the project to the directory that should be removed.
- Recursive — Flag indicating whether to remove the directory and all its contents recursively.
Output shape
a single JSON object indicating success or failure of the remove operation
Returns an object per input item. On failure, includes error details. Does not output the removed directory's content, only the operation result.
Examples
Example 1: Remove a specific empty directory from a project
Provide Project ID and Directory Path, set Recursive to false or omit it.
Example 2: Remove a directory and all files/subdirectories inside recursively
Provide Project ID and Directory Path, set Recursive to true.