client/splunk.js
function(callback) {
            callback = callback || function() {};
            
            var that = this;
            this.post("disable", {}, function(err, response) {
                if (err) {
                    callback(err);
                }
                else {
                    callback(null, that);
                }
            });
        }
function(callback) {
            callback = callback || function() {};
            
            var that = this;
            this.post("disable", {}, function(err, response) {
                if (err) {
                    callback(err);
                }
                else {
                    callback(null, that);
                }
            });
        }
function ( callback ) { callback = callback || function ( ) { } ; var that = this ; this . post ( "disable" , { } , function ( err , response ) { if ( err ) { callback ( err ) ; } else { callback ( null , that ) ; } } ) ; }
Disables the entity on the server.

@param {Function} callback A function to call when the object is disabled: `(err, entity)`.

@method splunkjs.Service.Entity
@protected
Disables the entity on the server .