This endpoint deletes the specified investment for a user. All the associated transactions will also be deleted.
Endpoint: https://cashboard-f5x2.onrender.com/investment/:id
Query Parameter: User’s UUID
Path Parameter: Investment ID
The response will be a JSON object that includes details of the query. The properties include:
OK
The response is of type object
.