Unable to delete raw measurement data

Discussions about the REST API usage.
Post Reply
Dunaparty
Posts: 8
Joined: Sun Jun 07, 2020 11:32 pm

Unable to delete raw measurement data

Post by Dunaparty » Mon Jun 15, 2020 11:10 pm

Hello,

I would like to delete these invalid values:

Code: Select all

$ curl http://api.iotguru.live/measurement/loadByEpoch/18420/gjQh9zHlHDNBS9ggqxxxxx/temperature
[[1591573147424,21.0],[1591571760042,21.2],[1591570132465,21.7],[1591569451704,22.3],[1591569082234,22.0],[1591569073068,21.5],[1591569001007,21.0]]
Let's delete the last one:

Code: Select all

$ curl -fS http://api.iotguru.live/measurement/delete/18420/gjQh9zHlHDNBS9ggqxxxxx/temperature/1591569001006/1591569001008
[]
Nothing is selected for deletion.

Am I using it wrong?

Post Reply