Sets the acceptable HTTP method to DELETE
774342
def delete(self, urls=None, **overrides):
        """"""
        if urls is not None:
            overrides['urls'] = urls
        return self.where(accept='DELETE', **overrides)
44247
def delete(header = self.class::DEFAULT_REQUEST_HEADER)
      ensure_client && ensure_uri
      response = @client.rest_delete(@data['uri'], header, @api_version)
      @client.response_handler(response)
      true
    end
1175784
def delete(self, data=None):
        """"""
        if not self.can_delete:
            raise JSSMethodNotAllowedError(self.__class__.__name__)
        if data:
            self.jss.delete(self.url, data)
        else:
            self.jss.delete(self.url)
695832
def delete(self):
        """"""
        check_bind(self)
        if self.id is None:
            raise ServerError("{} object does not exist yet".format(self.__class__.name))
        elif not self.__class__._has_schema_method("destroy"):
            raise MethodNotSupported("{} do not support deletion.".format(self.__class__.__name__))

        try:
            self._resource.delete()
        except HTTPError as e:
            if e.response.status_code == 403:
                raise PermissionDenied("")  # FIXME: is this right?
            else:
                raise e
1143508
def delete(self, **params):
        
        self.clear()
        self._context = None
        self._set_value(self._default_value())
        self.bucket._client.delete(self, **params)
        return self
599550
def delete(path, params = {}, header = {})
      _send(Net::HTTP::Delete.new(expand_path(path, params), expand_header(header)))
    end
897794
def delete
      response = service.send(:"#{delete_method_prefix}_delete", {:"#{ac_obj_type}_id" => self.id})
      response.at_xpath('//status').attr('code') == 'ok'
    end
815001
def delete(self, json=None):
        
        return self._call('delete', url=self.endpoint, json=json)
903811
def delete(path, body = nil, params = {}, headers = {}, auth = true)
      request(http_method: :delete, path: path, body: body, query: params, headers: headers, auth: auth)
    end
714997
public function delete()
    {
        if (!$this->isXmlHttpRequest()) {
            throw new \Exception("wrong request mode");
        }

        $deleted = $this->getClassService()->deleteInstance($this->getCurrentInstance());

        $this->returnJson(array(
            'deleted' => $deleted
        ));
    }
218459
def c_delete(api, args, verbose=False):
    
    obj = api.get_object(args['<URL>'].split('/')[-1])
    obj.delete()
    if verbose:
        return ['deleted object at', api.url(obj)]
74818
def delete(self, endpoint, params=None, version='1.1', json_encoded=False):
        """"""
        return self.request(endpoint, 'DELETE', params=params, version=version, json_encoded=json_encoded)
308439
def rest_delete(url, timeout, show_error=False):
    ''''''
    try:
        response = requests.delete(url, timeout=timeout)
        return response
    except Exception as exception:
        if show_error:
            print_error(exception)
        return None
494958
private function setDelete()
    {
        if ($this->parameters['header']["Content-Type"] == "application/x-www-form-urlencoded") {
            if (isset($_GET)) {
                foreach ($_GET as $k => $v) {
                    $this->log->debug("[ DELETE Params ]" . $k . ": " . $v, []);
                    $this->delete->$k = $this->setSecurityLevel($v);
                    $this->parameters["delete"][$k] = $this->setSecurityLevel($v);
                }
                unset($_GET);
            }

            $rawData = file_get_contents("php://input");
            parse_str($rawData, $_DELETE);
            foreach ($_DELETE as $k => $v) {
                $this->log->debug("[ DELETE Params ]" . $k . ": " . $v, []);
                $this->delete->$k = $this->setSecurityLevel($v);
                $this->parameters["delete"][$k] = $this->setSecurityLevel($v);
            }
            if ($rawData) {
                $this->parameters["delete"]['raw'] = $rawData;
                $this->log->debug("[ DELETE RawData ] raw: " . $rawData, []);
            }
        }
    }
863966
public HttpClient delete(String url) throws HelloSignException {
        request = new HttpDeleteRequest(url, auth);
        request.execute();
        return this;
    }
426093
def delete(self, service, path, **kwargs):
        
        return self.make_request(Methods.DELETE, service, path, **kwargs)
386156
def delete(self):
        
        res = self.rest_client.session.delete(self.rest_self)
        _handle_http_errors(res)