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();

```
I am assuming that you have an endpoint:

```
Somethingendpoint endpoint = CloudEndpointUtils.updateBuilder(endpointBuilder).build();

```

And then:

```
endpoint.remove<ModelName>(long ID); 

```