HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation deletes a comment in the HumHub platform by its ID. It is useful for automating the removal of unwanted or outdated comments in a social or collaborative environment managed by HumHub. For example, it can be used to clean up spam comments or remove comments that are no longer relevant.

Use Case Examples

  1. Deleting a comment by specifying its ID to maintain a clean discussion thread.
  2. Automating comment moderation by removing inappropriate comments based on certain triggers.

Properties

Name Meaning
Authentication The method of authentication to use for the API request, either Basic Auth or JWT Token.
ID The unique identifier of the comment to be deleted.

Output

JSON

  • id - The ID of the deleted comment.
  • status - The status or result of the delete operation.

Dependencies

  • HumHub API

Troubleshooting

  • Ensure the comment ID provided exists; otherwise, the API will return an error indicating the comment was not found.
  • Verify that the authentication credentials (Basic Auth or JWT Token) are correctly configured and valid to avoid authorization errors.
  • Check network connectivity and API endpoint availability if requests fail to reach the HumHub server.

Links

Discussion