client/splunk.js
function(relpath, params, callback) {
            var url = this.qualifiedPath;

            // If we have a relative path, we will append it with a preceding
            // slash.
            if (relpath) {
                url = url + "/" + relpath;    
            }

            return this.service.del(
                url,
                params,
                callback
            );
        }
function(relpath, params, callback) {
            var url = this.qualifiedPath;

            // If we have a relative path, we will append it with a preceding
            // slash.
            if (relpath) {
                url = url + "/" + relpath;    
            }

            return this.service.del(
                url,
                params,
                callback
            );
        }
function ( relpath , params , callback ) { var url = this . qualifiedPath ; // If we have a relative path, we will append it with a preceding // slash. if ( relpath ) { url = url + "/" + relpath ; } return this . service . del ( url , params , callback ) ; }
Performs a relative DELETE request on an endpoint's path,
combined with the parameters and a relative path if specified.

@example

// Will make a request to {service.prefix}/search/jobs/123456
var endpoint = new splunkjs.Service.Endpoint(service, "search/jobs/12345");
endpoint.delete("", {}, function() { console.log("DELETED"))});

@param {String} relpath A relative path to append to the endpoint path.
@param {Object} params A dictionary of entity-specific parameters to add to the query string.
@param {Function} callback A function to call when the request is complete: `(err, response)`.

@method splunkjs.Service.Endpoint
Performs a relative DELETE request on an endpoint s path combined with the parameters and a relative path if specified .