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 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
- Deleting a comment by specifying its ID to maintain a clean discussion thread.
- 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
- HumHub API Documentation - Official API documentation for HumHub, detailing endpoints and authentication methods.
