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 file from the HumHub platform using the file's ID. It is useful for automating file management tasks such as removing outdated or unwanted files from a container or directory within HumHub. For example, it can be used in workflows to clean up storage by deleting files that are no longer needed based on certain triggers or conditions.
Use Case Examples
- Deleting a file by specifying its ID to free up storage space.
- Automating the removal of files after processing or archiving them elsewhere.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to use for the API request, either Basic Auth or JWT Token. |
| ID | The unique identifier of the file to be deleted. |
Output
JSON
id- The ID of the deleted file.status- Status or confirmation of the deletion operation.
Dependencies
- Requires authentication credentials for HumHub API, either Basic Auth or JWT Token.
Troubleshooting
- Ensure the file ID provided is valid and exists in the HumHub system to avoid 'file not found' errors.
- Check that the authentication credentials are correct and have sufficient permissions to delete files.
- If the node fails, verify network connectivity to the HumHub API endpoint.
Links
- HumHub API Documentation - Official API documentation for HumHub, detailing endpoints and authentication methods.
