new del(path, params, callback) → {Operation}
Make a DELETE request
Parameters:
Name | Type | Description |
---|---|---|
path |
string | Path to resource |
params |
object | Body, Query, Headers and Auth parameters |
callback |
function | (Optional) Callback function |
- Source:
Returns:
- Type
- Operation
Example
del("/myendpoint", {
body: {"foo": "bar"},
headers: {"content-type": "application/json"},
authentication: {username: "user", password: "pass"},
},
function(state) {
return state;
}
)