# Drop a table

## Drop a table from a database in code&#x20;

In both self-hosted Epsilla and Epsilla Cloud, you can use the following code to programmatically drop tables:

{% tabs %}
{% tab title="Python" %}

```python
status_code, response = db.drop_table(table_name="MyTable")
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
await db.dropTable('MyTable');
```

{% endtab %}
{% endtabs %}

## Drop a table on Epsilla Cloud portal UI

On Epsilla Cloud, you can also intuitively drop vector tables via GUI

<figure><img src="https://2532879721-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FM0ZX7fId7ifK45ldHWEp%2Fuploads%2Fgit-blob-2e0f15896cc543f9931b2eaabaaaf96e02a34972%2FScreenshot%202023-11-22%20at%2012.27.54%20AM.png?alt=media" alt=""><figcaption></figcaption></figure>
