HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation deletes a specified space in the HumHub platform by its ID. It is useful for automating the management of spaces within HumHub, such as removing obsolete or unwanted spaces programmatically. For example, an admin can use this node to delete a space after a project is completed or to clean up unused spaces.

Use Case Examples

  1. Delete a space by providing its ID to remove it from the HumHub environment.
  2. Automate space cleanup by deleting spaces that meet certain criteria.

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 space to be deleted.

Output

JSON

  • id - The ID of the deleted space.
  • status - The status or result of the delete operation returned by the API.

Dependencies

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

Troubleshooting

  • Ensure the provided space ID exists; otherwise, the API will return an error indicating the space was not found.
  • Authentication errors may occur if credentials are incorrect or missing; verify the API credentials are properly configured.
  • API rate limits or permissions might prevent deletion; ensure the authenticated user has the necessary rights to delete spaces.

Links

Discussion