Quick Reference - Update a group:
Update Group
In other words, as a group owner, how can I update the group details? You can update the existing details of the group using theupdateGroup() method.
- JavaScript
- TypeScript
Group class as a parameter which should contain the data that you wish to update.
After a successful update of the group, you will receive an instance of
Group class containing update information of the group.
Response
Response
On Success —
updateGroup() returns the updated Group object:Group class, please check here
Best Practices
Set the GUID on the Group object
Set the GUID on the Group object
The
Group object passed to updateGroup() must have the correct GUID set. Only the fields you set on the object will be updated — unset fields remain unchanged.Only owners and admins can update groups
Only owners and admins can update groups
The
updateGroup() method requires the logged-in user to be the owner or an admin of the group. Participants and moderators cannot update group details.Troubleshooting
Update fails with permission error
Update fails with permission error
Verify the logged-in user is the owner or an admin of the group. Use
getGroup() to check the user’s scope in the group.Group type not changing after update
Group type not changing after update
The
type field of a group is not editable after creation. To change a group’s type, you would need to create a new group with the desired type.Next Steps
Retrieve Groups
Fetch group lists, search groups, and get group details
Group Members
Manage members, roles, and permissions within groups
Delete a Group
Delete groups and handle related cleanup
Create a Group
Create public, private, or password-protected groups