removeMember

@DeleteMapping(headers = "token", path = "/{" + TEAM_IDENTIFIER_KEY + "}/" + MEMBERS_KEY + "/{" + MEMBER_IDENTIFIER_KEY + "}")
open fun removeMember(@RequestHeader(value = "token") token: String, @PathVariable(value = "user_id") userId: String, @PathVariable(value = "team_id") teamId: String, @PathVariable(value = "member_id") memberId: String): String

Method to remove a member from a team

Return

the response of the request as String

Parameters

token

: the token of the user

userId

: the identifier of the user

teamId

: the identifier of the team where remove the member

memberId

: the identifier of the member to remove