Skip to main content

Deleting Data

info

When making a request to the TagoIO API, you must also specify the appropriate regional endpoint. Check out the available regions: API documentation

Endpoint

DELETE https://api.<region>.tago.io/data

Headers

Example header format:

Authorization: <DEVICE_TOKEN>

Optional Query Strings

Use the same query strings you use to get data to select which data will be deleted. The available optional query string parameters are:

KEYTYPEDESCRIPTIONquerystringPre-defined by TagoqtystringMaximum number of data to be returnedstart_datestringStart dateend_datestringEnd datevariablestringFilter by variable

To delete data, TagoIO uses the same query string parameters used to get data; for more details about each query, see here.

Examples

tip

Make sure your request is DELETE and not POST when trying to delete items. Posting data is relatively instantaneous, while deleting data can take between 10 and 30 seconds to complete.

Rate Limits

When executing requests to TagoIO, you will have a limit on the number of requests that can be made during a certain time period. Read more about our Rate Limits.