Any api to purge DB in cloud Bot

We need an API to purge records daily at 11:00 PM in one of the databases. Is there any available API that can help with this?

You can export data from the table, here are the steps - Enhance reporting with available actions for saved reports | ( if you want to export to an external server, refer this Data operations (Data export) | )

@Vikash_Kumar Please provide the API if available.