Skip to content

removeGroupMembersAsync

suspend fun removeGroupMembersAsync(groupId: String, membersToRemove: Array<String>, privateKeys: PreGeneratedKeys? = null)

Remove members from the group. Can only be done by a group administrator. You should call renewGroupKey after this.

Parameters

groupIdThe group from which to remove members.
membersToRemoveThe Seald IDs of the members to remove from the group.
privateKeysOptional. Pre-generated private keys, returned by a call to generatePrivateKeys or generatePrivateKeysAsync.

Throws

SealdException