updateGroup( )


Updates a group.

Note:

  • Only admins can update a group.
  • When a public or private group's name is updated, the slug is updated to reflect the new group name.
  • When group.privacyLevel is updated from PRIVATE to PUBLIC, all pending group join requests are automatically approved.
  • When group.privacyLevel is updated from PRIVATE to SECRET, all pending group join requests are automatically rejected.
Method Declaration
Copy
Method Parameters
_idstringRequired

Group ID.


groupUpdateGroupRequired

optionsUpdateGroupOptions
Returns
Return Type:Promise<Group>
Did this help?