:calls: `POST /repos/:owner/:repo/branches/:branch/protection/restrictions <https://developer.github.com/v3/repos/branches>`_
        :teams: list of strings

def edit_team_push_restrictions(self, *teams):
        """
        :calls: `POST /repos/:owner/:repo/branches/:branch/protection/restrictions <https://developer.github.com/v3/repos/branches>`_
        :teams: list of strings
        """
        assert all(isinstance(element, (str, unicode)) or isinstance(element, (str, unicode)) for element in teams), teams

        headers, data = self._requester.requestJsonAndCheck(
            "POST",
            self.protection_url + "/restrictions/teams",
            input=teams
        )