code: def accept_remote_share(self, share_id):
          
          if not isinstance(share_id, int):
              return False
  
          res = self._make_ocs_request(
              'POST',
              self.OCS_SERVICE_SHARE,
              'remote_shares/pending/' + str(share_id)
          )
          if res.status_code == 200:
              return res
          raise HTTPResponseError(res)
docs: Accepts a remote share
  
          :param share_id: Share ID (int)
          :returns: True if the operation succeeded, False otherwise
          :raises: HTTPResponseError in case an HTTP error status was returned