# DeleteSimpleData()

## Description

This function deletes the document at a particular location, given by the collection it is under and the document name.

#### Syntax

```
DeleteSimpleData(collectionName, documentName)
```

| Argument         | Description                                                                                                                     |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `collectionName` | <p>The name of the collection in the root of your database where you want to delete the document.<br>This must be a String.</p> |
| `documentName`   | <p>The Name of the Document you want to delete.<br>This must be a String.</p>                                                   |

#### Returns

```
N/A
```

## Example Implementation

<pre><code><strong>DeleteSimpleData("users", "Peter")
</strong></code></pre>

This requests the server to look into the "users" collection and remove a document named "Peter". If the collection "users" has nothing under it now, it will not exist anymore.
