---
title: "Delete Data"
method: DELETE
path: "/data"
tags: ["Device Data"]
---

# Delete Data

`DELETE /data`

## Request

- Base URL: `https://api.us-e1.tago.io`
- URL: `https://api.us-e1.tago.io/data`
- Auth: API key in header `Device-Token`
- TypeScript: <https://skmtc.dev/tago/apis/tagoio-api/docs/data/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete data from the device.
:::info  
This request is only available when using Mutable Storage on Devices.  
:::

## Query parameters

- `qty` integer
- `ordination` 'ascending' | 'descending'
- `skip` integer
- `variables` string
- `values` string
- `ids` string
- `groups` string

## Response `200`

Deleting data using params

- object
  - `result` string
  - `status` boolean

---

[API](https://skmtc.dev/tago/apis/tagoio-api.md) - [All operations](https://skmtc.dev/tago/apis/tagoio-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tago/apis/tagoio-api/revisions/1a281f04cdab?raw)
