One-Hub icon

One-Hub

Interact with the One-Hub API

Actions7

Folder → Delete

AI-generated

Summary

Deletes a folder from a chat’s One-Hub storage by sending the chat ID and folder path to the File API. The path is required at runtime; an empty path causes an error, even though the UI description says leaving it empty uses the root.

Inputs

  • Chat ID (required) — Chat GUID used to identify the chat storage.
  • Path — Folder path inside chat storage. Must be non-empty to delete a folder.

Output shape

A list of n8n items containing the File API response.

The node sends a DELETE request to /api/v1/extern/folder with chatId and path in the JSON body. A non-array response becomes one item; an array response becomes one item per element. If the request returns no data, the output contains an empty object.

Links

Discussion