6.9 Delete Group

The deleteGroup function is used to delete a group the user is a member of. Any existing member of the group can delete the group. The developer can choose to build stricter access-control mechanisms on top of this if desired (e.g. only the group-owner or group-admin is authorized to delete the group).

The function takes the following parameters :

  • sessionId : Unique SessionId which is received in the authenticate function response.

  • groupId : Group Id of the Group.

response = bayunCore.deleteGroup("<sessionId>", "<groupId>")
sessionId = response.sessionId

Last updated