HumHub icon

HumHub

Consume HumHub API (v.0.1.8)

Actions126

Overview

This node operation updates an existing space in the HumHub platform. It allows users to modify various attributes of a space, such as its name, description, tags, color, URLs, visibility, join policy, and default content visibility. The update can be done either by providing the space fields as a JSON object or by using a UI collection of individual fields. This operation is useful for managing and customizing spaces within HumHub to reflect changes in community structure or preferences.

Use Case Examples

  1. Updating the name and description of a space to reflect a new project focus.
  2. Changing the visibility of a space from private to public to allow more members to join.
  3. Modifying the join policy to restrict or open access to the space.

Properties

Name Meaning
Authentication Method of authentication to use for the API request (Basic Auth or JWT Token).
ID The unique identifier of the space to update.
Json Parameter Space Flag to indicate if the space fields should be passed as a JSON object or string.
Space (JSON) The space fields provided as a JSON object or JSON string when Json Parameter Space is true.
Space A collection of individual space fields to update when Json Parameter Space is false, including name, description, tags, color, URLs, visibility, join policy, and default content visibility.

Output

JSON

  • id - The unique identifier of the updated space.
  • name - The updated name of the space.
  • description - The updated description of the space.
  • tags - The updated tags of the space.
  • color - The updated color of the space.
  • url - The updated URL of the space.
  • indexUrl - The updated index URL of the space.
  • indexGuestUrl - The updated index guest URL of the space.
  • visibility - The updated visibility status of the space (public or private).
  • join_policy - The updated join policy of the space.
  • default_content_visibility - The updated default content visibility setting of the space.

Dependencies

  • HumHub API

Troubleshooting

  • Ensure the space ID provided is correct and exists in HumHub to avoid 'not found' errors.
  • If using JSON input for space fields, ensure the JSON is valid and correctly formatted to prevent parsing errors.
  • Check authentication credentials (Basic Auth or JWT Token) are correctly configured to avoid authorization errors.

Links

Discussion