code: def rename_account(self, account, new_name):
          
          self.request('RenameAccount', {
              'id': self._get_or_fetch_id(account, self.get_account),
              'newName': new_name
          })
docs: Rename an account.
  
          :param account: a zobjects.Account
          :param new_name: a string of new account name