The Delete a Transaction service removes a given transaction from the system.
{base_url}/transactions/{id}
DELETE
None
Path parameters:
Name | Type | Mandatory? | Constraints | Notes |
---|---|---|---|---|
id | int | yes | Internal unique ID assigned by the system. |
None
An empty data set.
Code | Description | Notes |
---|---|---|
200 | OK | - |
Request:
curl -XDELETE http://localhost:3000/transactions/5
Response:
{}