API – Deleting Existing Entities
This article explains how to delete existing entities via the API.
The deletion operation is very straight-forward and can be done using a DELETE request. However, it is important to consider that the requested entity MUST implement the “delete” method as an instance method, which should take care of either the logical deletion or removing the record altogether.
The format of a DELETE request is as follows:
Removing a loan with the ID of "1" would look like the following:
Or, you could use the following request instead: