Actions126
- User Actions
- Group Actions
- Session Actions
- Content Actions
- Post Actions
- Comment Actions
- Like Actions
- Activity Actions
- File Actions
- Notification Actions
- Space Actions
- Space Membership Actions
- Topic Actions
- Calendar Actions
- CFile Directory Actions
- CFile Actions
- CFile Item Management Actions
- Survey Actions
- Survey Answer Actions
- Survey Answers Actions
- Task Actions
- Task List Actions
- Wiki Page Actions
- Wiki Page Revision Actions
- Mail Conversation Actions
- Mail Entry Actions
- Mail Recipient Actions
- Mail Tag Actions
Space Membership → Create
AI-generatedOverview
This node operation creates a new membership for a user in a specified space within the HumHub platform. It is useful for automating the process of adding users to spaces, which can be beneficial in scenarios such as onboarding new team members, managing community memberships, or organizing users into groups for collaboration. For example, when a new employee joins a company, this node can automatically add them to relevant project spaces without manual intervention.
Use Case Examples
- Automatically add a user to a project space when they are onboarded.
- Add a user to a community space based on their subscription status.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to use for the API request (Basic Auth or JWT Token). |
| ID | The ID of the space where the user membership will be created. |
| User ID | The ID of the user to be added to the space. |
| Silent | Whether to send a notification to the user about being added to the space (true to send silently without notification, false to notify). |
Output
JSON
id- The ID of the space where the membership was created.userId- The ID of the user added to the space.silent- Indicates if the notification was sent silently.
Dependencies
- Requires authentication credentials: either Basic Auth or JWT Token for HumHub API.
Troubleshooting
- Ensure the space ID and user ID are valid and exist in the HumHub system to avoid errors.
- If the 'silent' option is set incorrectly, the user may receive unwanted notifications or none at all.
- Authentication errors may occur if the provided credentials are invalid or expired; verify and update credentials as needed.
Links
- HumHub API Documentation - Official API documentation for HumHub, useful for understanding endpoints and parameters.
