Skip to main content

DeleteItemByConditions

Deleting items by specifying conditions (using DisplayID)

Description

Specify search criteria to remove items that match the criteria.

Method

DELETE

Request URL Format

/api/v0/applications/:app-id/datastores/:datastore-id/items/delete

URL Params

app-id          : Application ID(Specify the ID entered from the Hexabase screen or the internal ID[p_id])
datastore-id : Data store ID(Specify the ID entered from the Hexabase screen or the internal ID [d_id])

Request Body

Content-Type : application/json

{
"conditions": [
{ "id": "FIELD_ABC", "search_value": ["abc"] }

],
"use_display_id": true // Using screen item id
}
id      Field screen item id
search_value Search condition

Request URL Sample

DELETE http://api.xxx.com/api/v0/applications/APPNAME/datastores/RESERVES/items/delete

Response Sample

null