remove Member

@DeleteMapping(path = ""/{" + GROUP_IDENTIFIER_KEY + "}" + REMOVE_MEMBER_ENDPOINT", headers = [] )
open fun removeMember(@PathVariable(value = "id") id: String, @RequestHeader(value = "token") token: String, @PathVariable(value = "group_id") groupId: String, @RequestBody payload: Map<String, String>): String

Method to remove a group member

Return

the result of the request as String

Parameters

id

The identifier of the user

token

The token of the user

groupId

The identifier of the group where remove the member

payload

: payload with the member identifier to remove