/bubble-tutorials

How to delete database things in Bubble

Learn how to safely delete database entries in Bubble with clear steps, tips, and best practices to keep your app clean and efficient.

Matt Graham, CEO of Rapid Developers

Book a call with an Expert

Starting a new venture? Need to upgrade your web or mobile app? RapidDev builds Bubble apps with your growth in mind.

Book a Free Consultation

How to delete database things in Bubble

The short version: In Bubble, you delete things by running an action called “Delete thing” or “Delete a list of things” inside a workflow. You pass Bubble the Thing (or list of Things) you want removed, and Bubble permanently removes them from the database.

 

How to Delete a Single Thing

 

To remove one record (Bubble calls all records “Things”), you trigger any workflow event, then add the action Data → Delete thing. In the action’s field “Thing to delete,” you reference the specific item (for example: “Current cell’s Thing”). Once the workflow runs, that record is gone permanently.

  • You often use this inside repeating groups, because each cell gives you direct access to one specific Thing.
  • If you’re deleting from a button click, make sure the button has access to the Thing through its data source or parent group.

 

How to Delete a List of Things

 

You can also delete many records at once using Data → Delete a list of things. Bubble asks for a list; you usually provide it using a search. For example, “Search for Orders (status = cancelled)”. Bubble will delete every item returned by the search.

  • Useful for cleanup tasks through backend workflows.
  • Be careful: this removes everything in the list with no undo.

 

Deleting Things Safely (Privacy + Permissions)

 

Bubble will only let a workflow delete something if the user running the workflow has permission based on Privacy Rules. If a deletion isn’t working, check Data → Privacy. The user must have the permission “Find this in searches” and “Modify/delete this thing.”

  • For secure apps, only allow admins or the Thing’s owner to delete it.
  • Backend workflows bypass some UI limits but still follow privacy rules unless you mark them to run “Ignore privacy rules.”

 

Real Example: Deleting an Expired Token via Backend Workflow

 

A backend workflow can auto-delete old records. You create a scheduled API workflow, run a search, and delete the results.

// Backend workflow action example
// Action: Data → Delete a list of things
List to delete = Search for Tokens:filtered (Expiration date < Current date/time)

 

This keeps your database clean without manual user actions.

Explore More Valuable No-Code Resources

How to integrate Bubble.io with Git?

Learn how to seamlessly integrate Bubble.io with Git through our comprehensive step-by-step guide. Perfect for beginners and professionals.

Explore

How to integrate Bubble.io with Reddit Ads?

Learn how to seamlessly integrate Bubble.io with Reddit Ads using our easy step-by-step guide. Boost your ad management today!

Explore

How to integrate Bubble.io with AWS S3?

Explore our step-by-step guide on integrating Bubble.io with AWS S3, making your app development process more efficient and secure.

Explore

How to integrate Bubble.io with Lucidchart?

Follow our step-by-step guide to seamlessly integrate Bubble.io with Lucidchart, enhancing your workflow & productivity.

Explore

How to integrate Bubble.io with Kentico?

Learn how to seamlessly integrate Bubble.io and Kentico with our comprehensive, easy to follow step-by-step guide.

Explore

How to integrate Bubble.io with Box?

Discover easy-to-follow steps for integrating Bubble.io with Box. Boost your workflow and secure your files seamlessly today.

Explore

Stuck in Bubble.io? We’re here to help!

Fix broken workflows | Optimize logic | Boost performance | Scale with confidence

4.9
Clutch rating 🌟
600+
Happy partners
17+
Countries served
190+
Team members

By clicking “Accept”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. View our Privacy Policy for more information.

Cookie preferences