# Delete

### Parameters

| Key          | Type                     |
| ------------ | ------------------------ |
| **REQUIRED** |                          |
| collection   | String (Collection Name) |
| upload       | String (Upload Name)     |

## Example

The example below deletes "Upload 1" from the collection "Collection 1".

```
curl -X POST \
  v1/data/delete\
  -H 'Authorization: Basic <Your Base64 Encoded Token>'\
  -d '{
    "collection" : "Collection 1",
    "upload"     : "Upload 1"
}'
```

## Success Response

The response returns current information on the collection. The stats property will detail how many uploads are in the collection, and what size the sum of the data is.

```
{
    "status": "success",
    "data": {
        "collection": "My Collection",
        "stats": {
            "uploads": 0,
            "size": 0
        }
    },
    "hash": "2b12124dda10e6141d11d114b9a754ca",
    "response_time": 0.13753485679626465
}
```
