[SOLVED] Delete values instructions don't work for me

I’m trying to delete multiple values from one of my variable using the instructions here: https://ubidots.com/docs/api/#delete-values

When I issue the command, however, I just get back an error:

dsegel@ophelia:~/>curl -X GET "http://things.ubidots.com/api/v1.6/variables/<myVariable>/values/1471047248000/1471393045000/?token=<myToken>"
{"detail": "Method 'GET' not allowed."}%   

Am I doing it wrong?

There was actually an error in the documentation, it is now fixed :smile: Thanks for the report.

It should work fine with the DELETE method instead of the GET.

curl -X DELETE "http://things.ubidots.com/api/v1.6/variables/<myVariable>/values/1471047248000/1471393045000/?token=<myToken>"

Regards :smile: