Actions126
- User Actions
- Group Actions
- Content Actions
- Post Actions
- Comment Actions
- Like Actions
- Activity Actions
- Notification Actions
- Space Actions
- Calendar Actions
- CFile Directory Actions
- CFile Actions
- CFile Item Management Actions
- Survey Actions
- Task Actions
- Task List Actions
- Wiki Page Actions
- Mail Conversation Actions
- Mail Entry Actions
- Mail Recipient Actions
- Session Actions
- File Actions
- Space Membership Actions
- Topic Actions
- Survey Answer Actions
- Survey Answers Actions
- Wiki Page Revision Actions
- Mail Tag Actions
Overview
This node operation deletes items from a specified folder within the HumHub platform's CFile Item Management resource. It is useful for managing file organization by removing selected items from a folder, such as cleaning up or reorganizing files in a container. For example, a user can specify a container ID and a selection of item IDs to be deleted from that folder.
Use Case Examples
- Deleting specific files or items from a folder in a HumHub container to maintain folder contents.
- Automating cleanup of outdated or unnecessary files from a project folder in HumHub.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to use for the API request (Basic Auth or JWT Token). |
| ID | The ID of the container (folder) from which items will be deleted. |
| Selection | The item ID(s) in the format {type}_{id} specifying which items to delete from the folder. |
Output
JSON
id- The ID of the container (folder) where items were deleted.selection- The selection of item IDs that were deleted from the folder.
Dependencies
- Requires authentication credentials: either Basic Auth or JWT Token for HumHub API.
Troubleshooting
- Ensure the 'ID' parameter corresponds to a valid container ID in HumHub.
- Verify the 'Selection' parameter is correctly formatted as {type}_{id} and refers to existing items in the folder.
- Authentication errors may occur if credentials are missing or invalid; verify the chosen authentication method and credentials.
- API request failures might happen if the user lacks permissions to delete items from the specified folder.
Links
- HumHub API Documentation - CFile Item Management - Official API documentation for managing CFile items in HumHub, including deleting items from folders.
