Delete stream
Endpoint: DELETE /api/{organization}/{stream}
Request
None
Response
The data delete is an asynchronous operation. it will delete by Compactor
.
it will execute by an interval
10 minutes
as default. So maybe the data will delete after 30 minutes. You don't need to wait it done, you can confirm the delete result hours later.
You can change the compactor
run interval by an environment:
Unit is second. default is 10 minutes
.
Data lifecycle
You can configure data life cycle to auto delete old data. it is a awesome feature.
To enable this feature, you just need to add an environment:
The value is how many days you want to keep data. it will auto delete the data older than N
days.