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
Group → Add Member
AI-generatedOverview
This node operation adds a member to a specified group in the HumHub platform. It is useful for managing group memberships programmatically, such as adding users to groups for collaboration or access control. For example, an admin can automate adding new employees to relevant project groups.
Use Case Examples
- Add a user with ID 123 to group with ID 456 as a regular member.
- Add a user with ID 789 to group with ID 101 as a manager.
Properties
| Name | Meaning |
|---|---|
| Authentication | Method of authentication to use for the API request (Basic Auth or JWT Token). |
| ID | The ID of the group to which the member will be added. |
| User ID | The ID of the user who will be added to the group. |
| Is Manager | Boolean flag indicating if the user should be added as a manager of the group. |
Output
JSON
userId- The ID of the user added to the group.isManager- Indicates if the user is a manager in the group.groupId- The ID of the group to which the user was added.
Dependencies
- Requires authentication credentials: either Basic Auth or JWT Token for HumHub API.
Troubleshooting
- Ensure the group ID and user ID are valid and exist in HumHub to avoid errors.
- Check that the authentication credentials are correctly configured and have permissions to modify group memberships.
- If the API request fails, verify network connectivity and HumHub API availability.
Links
- HumHub API Groups Documentation - Official documentation for managing groups and group members via HumHub API.
