All Collections
FAQs and Troubleshooting
How can I delete a range of data points?
How can I delete a range of data points?

Learn how to delete set of value in your account making a delete request

Written by Sergio M
Updated over a week ago

To delete a set of values in your account make a DELETE request to:{VAR_ID}/values/{START}/{END}/

Values between the {START} timestamp and the {END} timestamp will be deleted.

Http Request

DELETE /api/v1.6/variables/{VAR_ID}/values/{START}/{END}/?token={TOKEN} HTTP/1.1

Example request

# Request: Delete all values between timestamps 1447136223927 and 1449419580541:

curl -X DELETE ""

# Response
    "count": 7200

: A useful tool to convert between Human readable dates and POSIX timestamps is:

NOTE: Remember to replace {VAR_ID} with the ID of the Variable you wish to retrieve and {TOKEN} with a valid token from your account.

Did this answer your question?