Ingesting and Deleting Data
Learn how to ingest and delete data from Time Series Dataset collections.
Overview
This section provides an overview of the API for ingesting and deleting data from a collection. It includes usage examples for many common scenarios.
Method | API Reference | Description |
---|---|---|
collection.delete | Deleting data points | Delete data points from a collection. |
collection.delete_ids | Deleting data points by IDs | Delete data points from a collection by their ids. |
You need to have write permission on the collection to be able to ingest or delete datapoints.
Check out the examples below for common scenarios when ingesting and deleting data from collections. The examples assume you have already created a client and accessed a specific dataset collection that you have write permissions on.
Ingesting data
Deleting data
To delete data from a collection, use the delete or delete_ids method.
One common way to delete data is to load it from a collection and then forward it to the delete
method.
In case you already have the list of datapoint IDs that you want to delete, you can use the delete_ids
method.
Was this page helpful?