Skip to main content

Integrate DB2Rest with MongoDB

A single record or row can be deleted from a database table using HTTP DELETE method along with a filter. This filter should uniquely identify one record in the table.

danger

In case the filter matches multiple records, all of them will be deleted.

Example Request

curl --request DELETE \
--url http://localhost:8080/film&filter=id==1 \
--header 'Content-Profile: sakila' \
--header 'Content-Type: application/json' \
--header 'User-Agent: insomnia/8.4.5'

HTTP Response

TODO

Error handling

TODO