FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
Dear Community User! We have started the migration process.
This community is now in READ ONLY mode.
Read more: Important
information on the platform change.
06-03-2024 07:28 AM
Solved! Go to Solution.
06-03-2024 03:37 PM - edited 06-03-2024 03:38 PM
Hello @yosafat ,
I would recommend doing this via the REST API. It cannot be done from the web UI.
Here is an example request in Postman. You can find the orgID in the Influx web UI under organization about section.
You can find the bucket ID on the buckets page.
https://127.0.0.1:8443/influxdb/api/v2/delete?orgID=65ed411f06b1edf4&bucket=9c76ab136a2dc28d
You'll need to include an API token from InfluxDB for authorization. I used the Postman Bearer Token configuration. You also need the header Content-Type = application/json. Finally, you can specify the time range you'd like to delete over in the request body. You can use a date before the bucket was created as the start time and a future date as the stop time to clear the whole bucket.
{
"start":"1970-01-01T00:00:00Z",
"stop":"2025-01-01T00:00:00Z"
}
Here is the documentation from InfluxDB.
On the Get Started page of the InfluxDB web UI, there are instructions to configure the CLI. I'd recommend using the REST API however, as they have almost all of the same functionality and it does not require any client side installation.
06-04-2024 07:30 AM