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 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
- Updating the name and description of a space to reflect a new project focus.
- Changing the visibility of a space from private to public to allow more members to join.
- 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
- HumHub API Guide for Updating a Space - Official documentation for the HumHub API endpoint to update a space.
