Delete data
The InfluxDB /api/v2/delete
API endpoint has been disabled for InfluxDB
Cloud Serverless organizations.
Currently, you can’t delete data from an InfluxDB Cloud Serverless bucket.
To avoid querying expired or unwanted data, use tags and timestamps for filtering.
When writing data:
- Use a new measurement name when your schema changes.
- Include a tag or tags for versioning your data.
When querying:
- Filter for tag values in your version tags.
- Use time boundaries that exclude old data.
To delete a bucket and all its data, use the InfluxDB /api/v2/buckets
API endpoint.
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.