listPotentialMembers

@GetMapping(headers = "token", path = ""/" + MEMBERS_KEY")
open fun <T> listPotentialMembers(@RequestHeader(value = "token") token: String, @PathVariable(value = "user_id") userId: String): T

Method to get the potential members to add in a team

Return

the result of the request as [JSONObject]

Parameters

userId

: the identifier of the user

token

: the token of the user