Delete entities in bulk

If you need to delete entities in bulk, we recommend that you use Dataflow, a managed service for developing and executing data processing workflows. Dataflow provides a Datastore delete template that you can use to delete entities selected by a GQL query.

For more information, see the Dataflow documentation on executing the Datastore bulk delete template.

If your use case involves data retention, see Manage data retention with TTL policies.