DELETE /api/v2/table/{path}/document/{id}

Deletes a single document by id in a HPE Ezmeral Data Fabric Database JSON table

Parameters

Name Description
path

string

(path)

Required: Path to the HPE Ezmeral Data Fabric Database JSON table
id

string

(path)

Required: Id of the document to delete
condition

string

(query)

Query condition (in JSON format) used to perform OJAI DocumentStore.checkAndDelete evaluation. See OJAI Query Condition Syntax for a description of the syntax.

Request Example

The following deletes the document with id user003 in /apps/employees:
curl -X DELETE \
  'https://10.10.100.42:8243/api/v2/table/%2Fapps%2Femployees/document/user003' \
  -u <username>:<password>

Response Example

200 OK