post https://{teamSlug}.api.morphdb.io/v0/data-api/record/delete
Deletes multiple records. Note that you create a database and a table in Widget Dashboard in advance.
To filter the records to be deleted, put the conditions in filter
property.
For more information, see Filter & Sort section.
ex. ) sample table
id | name | product_type | price |
---|---|---|---|
1 | apple | fruits | 100 |
2 | grape | fruits | 200 |
3 | chocolate | snacks | 400 |
// request
{
"filter": {
"and": [
{
"key": "id",
"opearator": "equal",
"value": 1
}
]
}
}