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 a directory in the HumHub platform's CFile Directory resource. It is useful for automating the removal of directories within a container, such as cleaning up unused folders or managing file organization programmatically. For example, a user can specify the directory ID to delete a specific folder from a container in HumHub.
Use Case Examples
- Deleting a directory by specifying its ID to remove obsolete or unwanted folders from a container in HumHub.
- Automating directory cleanup tasks in HumHub by deleting directories based on certain conditions or triggers.
Properties
| Name | Meaning |
|---|---|
| Authentication | The method of authentication to use for the API request, either Basic Auth or JWT Token. |
| ID | The unique identifier of the directory to be deleted. |
Output
JSON
id- The ID of the deleted directory or confirmation of deletion.status- Status or response message from the delete operation.
Dependencies
- Requires authentication credentials for HumHub API, either Basic Auth or JWT Token.
Troubleshooting
- Common issues include providing an invalid or non-existent directory ID, which will result in an error from the HumHub API indicating the directory could not be found.
- Authentication failures due to incorrect or missing credentials will prevent the delete operation from succeeding.
- Network or API endpoint issues may cause the request to fail; ensure the HumHub API is accessible and the node is configured correctly.
Links
- HumHub CFile Directory API Documentation - Official API documentation for managing CFile directories in HumHub, including delete operations.
