> For the complete documentation index, see [llms.txt](https://epsilla-inc.gitbook.io/epsilladb/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://epsilla-inc.gitbook.io/epsilladb/epsilla-vector-database/user-manual/api-reference.md).

# Drop a table

## Drop a table from a database in code

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="/files/iEDJruB21lcKJyDxScyN" alt=""><figcaption></figcaption></figure>
