HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

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

  1. Deleting a file by specifying its ID to free up storage space.
  2. 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

Discussion