Send DELETE Request to Postgres API

postgres_delete(path, ...)

Arguments

path

relative path, e.g. users/3/bathingspots/18/genericInputs to delete a generic input for bathing spot with id 18 of user with id 3

...

further arguments passed to fhpredict:::postgres_request

Value

In case of success this function returns what httr::content(response, as = "parsed") returns. In case of failure an empty list with attribute response (containing the response object returned by DELETE) is returned.