# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://epsilla-inc.gitbook.io/epsilladb/epsilla-vector-database/user-manual/api-reference.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
