Removes data from the bucket respecting the query options passed. You can get more information about what information can be passed with .remove in our delete documentation.

Syntax
.remove(/filter/)

Arguments
filter(object) filter options when deleting data. (optional)

Field name
Type
Description
variable
string/array
[optional]
Filter by variable. If none is passed, get the last data.

query 
string
[optional]
Do a specific query. See the query documentation to know what can be passed.
end_date
string
[optional]
Get data older than a specific date.
start_date
string
[optional]
Get data newer than a specific date.
qty
number
[optional] 
The number of data to be deleted. The default is 15.

Returns {Promise<JSON>}