HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation removes a file associated with a specific task in the HumHub platform. It is useful for automating the management of task-related files, such as deleting outdated or incorrect attachments from tasks. For example, a user can specify a task ID and a file ID to remove that file from the task, helping keep task files organized and relevant.

Use Case Examples

  1. Remove a file from a task by providing the task ID and the file ID to delete the file attachment.
  2. Automate cleanup of task files by removing files that are no longer needed.

Properties

Name Meaning
Authentication Method of authentication to use for the API request (Basic Auth or JWT Token).
ID The ID of the task from which the file will be removed.
File ID The ID of the file to remove from the specified task.

Output

JSON

  • id - The ID of the task from which the file was removed.
  • fileId - The ID of the file that was removed.
  • result - The response from the API indicating the success or failure of the file removal operation.

Dependencies

  • HumHub API with either Basic Auth or JWT Token authentication

Troubleshooting

  • Ensure that the task ID and file ID are correct and exist in the HumHub system to avoid errors.
  • Authentication errors may occur if the provided credentials (Basic Auth or JWT Token) are invalid or expired.
  • API request failures might happen due to network issues or incorrect API endpoint usage.

Links

  • HumHub API Documentation - Official API documentation for HumHub, useful for understanding available endpoints and authentication methods.

Discussion