Question: I created an entity in the Google App Engine datastore.

How can I remove this entity?

Answer: 
You haven't specified which API you're using.

In Python it's [like so](http://code.google.com/appengine/docs/python/datastore/creatinggettinganddeletingdata.html#Deleting_an_Entity):

```
db.delete(modelId)

```

In Java it should be [like](http://code.google.com/appengine/docs/java/datastore/creatinggettinganddeletingdata.html#Deleting_an_Object) (I haven't tested this):

```
PersistenceManager pm = PMF.get().getPersistenceManager();

MyModel entity = pm.getObjectById(MyModel.class, modelId);
pm.deletePersistent(entity);

pm.close();

```
Additionally, you can also try something like the following (In Python pseudo-code):

```
class MyClass(ndb.Model):
    myString = ndb.StringProperty(indexed=false)

def deleteAllEntities():
    entities = MyClass.query()
    for entity in entities:
        entity.key.delete()

```

Admittedly there are better ways to do bulk deletion, but this is a way you can use if you are having trouble. 

More info here: <https://cloud.google.com/appengine/docs/python/datastore/entities#Python_Deleting_an_entity>