changeMemberRole

fun changeMemberRole(groupId: String, memberId: String, role: <Error class: unknown class>): JsonObject

Method to execute the request to change a role of a member of 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 change the role

role

The new role of the user