HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation removes a file from a specific calendar entry in the HumHub platform. It is useful for managing calendar attachments by deleting unwanted or outdated files associated with calendar events. For example, if a calendar event has an attached document that is no longer relevant, this operation can remove that file by specifying the calendar entry ID and the file ID.

Use Case Examples

  1. Removing an outdated agenda file from a calendar event by providing the calendar entry ID and the file ID to be removed.
  2. Cleaning up attachments from calendar entries to keep event data organized.

Properties

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

Output

JSON

  • id - The ID of the calendar entry from which the file was removed.
  • fileId - The ID of the file that was removed.
  • result - The result or response from the API confirming the file removal.

Dependencies

  • HumHub API

Troubleshooting

  • Ensure the calendar entry ID and file ID are correct and exist in the HumHub system to avoid errors.
  • Check that the authentication credentials (Basic Auth or JWT Token) are valid and have the necessary permissions to modify calendar entries.
  • If the node throws an error about missing binary data, verify that the input data contains the required properties and that the file ID is correctly specified.

Links

Discussion