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