removeMember

fun removeMember(groupId: String, memberId: String): JsonObject

Method to execute the request to remove a member from a group

Return

the result of the request as JsonObject

Parameters

groupId

The group identifier of the group where change the role

memberId

The identifier of the member to remove