Skip to main content
Practitioner ⭐️⭐️⭐️
May 23, 2024 6:38 PM UTC

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())

 

2 replies

Practitioner ⭐️⭐️⭐️
May 23, 2024 6:38 PM UTC

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())

 

Pablo Palacios
Seasoned ⭐️⭐️⭐️
Seasoned ⭐️⭐️⭐️
May 23, 2024 11:14 PM UTC

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