Models
AJAX Abstraction for a Single Resource
AJAX Abstraction for a Single Resource
The destroy()
method is used to delete a resource.
You can learn about how this method can be used to delete resources here.
The default implementation looks like this:
destroy: function(options) {
options = options ? _.clone(options) : {};
return this.sync('delete', this, options);
},