HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node interacts with the HumHub API to manage mail recipients within mail conversations. Specifically, the 'Remove' operation under the 'Mail Recipient' resource allows users to remove a recipient from a mail conversation by specifying the message ID and user ID. This is useful in scenarios where you need to programmatically manage participants in mail conversations, such as removing users who should no longer receive messages in a conversation.

Use Case Examples

  1. Removing a user from a specific mail conversation by providing the conversation's message ID and the user's ID.
  2. Automating the cleanup of mail recipients in conversations based on certain conditions or triggers.

Properties

Name Meaning
Authentication Method of authentication to use for the API request, either Basic Auth or JWT Token.
Message ID The ID of the mail conversation from which the recipient will be removed.
User ID The ID of the user to be removed from the mail conversation.

Output

JSON

  • json - The JSON response from the HumHub API after removing the mail recipient, typically confirming the removal or providing status information.

Dependencies

  • HumHub API

Troubleshooting

  • Ensure that the Message ID and User ID provided are valid and correspond to existing mail conversations and users in HumHub.
  • Authentication errors may occur if the provided credentials (Basic Auth or JWT Token) are incorrect or expired. Verify credentials before running the node.
  • API rate limits or network issues may cause request failures. Check network connectivity and API usage limits.
  • If the user to be removed is not part of the specified mail conversation, the API may return an error indicating the user is not found in that conversation.

Links

  • HumHub API Documentation - Official API documentation for HumHub, useful for understanding available endpoints and request/response formats.

Discussion