Skip to main content
Solved

Delete time series SDK Python

  • 23 May 2024
  • 2 replies
  • 33 views

Hello, how can I delete all the time series of a dataset with python sdk?

2 replies

Userlevel 4
Badge

You can first list all the time series in a data set, then convert them to a list of ids that you then delete:

tss = client.time_series.list(data_set_ids=123456, limit=None)
client.time_series.delete(id=tss.as_ids())

 

Userlevel 2
Badge +2

You can first list all the time series in a data set, then convert them to a list ids that you then delete:

tss = client.time_series.list(data_set_ids=123456, limit=None)
client.time_series.delete(id=tss.as_ids())

thank you very much, it worked perfectly for me

 

 

Reply