HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node interacts with the HumHub API to perform operations on various resources. Specifically, for the 'Content' resource with the 'Delete' operation, it deletes a content item identified by its ID. This is useful in scenarios where you need to programmatically remove content from a HumHub instance, such as cleaning up outdated posts or managing content lifecycle automatically.

Use Case Examples

  1. Deleting a specific content item by its ID to maintain content relevance.
  2. Automating content removal workflows in a HumHub-based social intranet.

Properties

Name Meaning
Authentication Method of authentication to use for the API request, either Basic Auth or JWT Token.
ID The unique identifier of the content item to delete.

Output

JSON

  • id - The ID of the deleted content item, confirming the deletion.
  • status - Status or response from the API indicating success or failure of the delete operation.

Dependencies

  • Requires authentication credentials for HumHub API, either Basic Auth or JWT Token.

Troubleshooting

  • Ensure the content ID provided exists; otherwise, the API will return an error indicating the content was not found.
  • Authentication errors may occur if credentials are incorrect or expired; verify the API key or login details.
  • API rate limits or permissions might prevent deletion; check user permissions and API limits in HumHub settings.

Links

  • HumHub API Documentation - Official documentation for the HumHub API, useful for understanding available endpoints and authentication methods.

Discussion