Announcements
Hi all, I am using C# and the Dataverse API to dynamically create tables based on the columns in an Excel spreadsheet. I'd like to be able to clear out all data in the table NOT using the Bulk Delete in the Admin site. Is there a way to do this?
Hi @ebonnett ,
Looking to use something like this or are you trying to do a delete all? https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/update-delete-entities-using-web-api
Trying to delete all so I don't want to address one row at a time. Basically DELETE FROM <tablename>.
Hi @ebonnett,
you could call the bulkDelete action via the WebAPI I guess.
https://learn.microsoft.com/en-us/power-apps/developer/data-platform/webapi/reference/bulkdelete?view=dataverse-latest
As per my understanding this is basically nothing else than what the bulk delete in the admin site does. Also I would think you need to pass it a query string of the records to be deleted.
Never used myself, but maybe that's what your looking for.
Leksie, thanks for the tip. I did not know that was an option. I'll check it out and report back, maybe I'll post a code snippet once I get it working so others may benefit.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Users!
Congratulations to our 2025 community superstars!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Vish WR 915
Valantis 571
11manish 457