Deleting Data

Deleting Data

Authorization: Your device token.

Optional Query Strings

stringpre-defined by Tago

Maximum number of data to be returned
Start date
stringend date
stringFilter by Variable

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

Below, we will show some examples of DELETING data using query string.


Deleting the last 99 items from the variable temperature.

Tip: Make sure your request is DELETE and not POST when trying to delete items. Note that posting data is relatively instantaneous while deleting data can take between 10 and 30 seconds to complete.

Deleting the last item from the variable temperature.

Deleting the last value from the variable temperature (requires the 'value' attribute on the variable object).

Deleting the last location from the variable temperature (requires 'location' attribute on the variable object).

Deleting by period.

Deleting the last value from an array of variables.[]=temperature&variable[]=pressure&query=last_value

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.

    • Related Articles

    • Deleting Your Account

      If you need to cancel your account, go to 'Account Settings' by accessing My Account. Then, within the tab 'More', you will find the 'delete my account' button. We will delete your account, including all your profiles, and then we will confirm by ...
    • Data Export

      The Export Data feature enables you to efficiently extract variables from your bucket. This function is accessible within the Admin panel, specifically in the Bucket Module . To use it, select a bucket and navigate to the ' Variables' tab. On this ...
    • Getting Data

      HEADERS: Authorization: Your-Device-Token GET - QUERYSTRINGS: KEY TYPE DESCRIPTION variable string || array Get variables query string pre-defined by Tago qty string Maximum number of data to be returned. start_date string ...
    • Data Records

      Data Record is related to the variables stored in the data buckets that are fed by the devices. Each register is composed of a variable and all metadata associated with it. The data record limit will define the maximum storage capacity for the ...
    • Sending Data

      A device can send data to TagoIO by using the POST method. POST KEY TYPE REQUIRED variable string [max 100 characters] yes unit string [max 25 characters] no value string/number/boolean [max 6kB] no time string no group ...