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 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
- Remove a file from a task by providing the task ID and the file ID to delete the file attachment.
- 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.
