# Delete Row

The Delete Row step allows you to delete a row in a table by a given condition.

You need to specify the filter condition to find the row to delete, for example:

```javascript
// id = 23
{{ui.table.deletedRow.data.id}}
```

<figure><img src="/files/oijAcawLxqWsjzFKeAOJ" alt=""><figcaption></figcaption></figure>

You can also specify *multiple* conditions. In this case, the row will be deleted if all conditions are met.

The condition(s) you specify will be sent to the server and converted to a `DELETE` statement, for example:

```sql
DELETE FROM users WHERE id = 23
```

You can check the action's *Payload* tab to see the actual conditions sent to the server.

{% hint style="warning" %}
If any conditions are specified as *null* or *undefined*, they will be removed from the conditions list. If all conditions are removed, it may result in **deleting all rows in the table** if the *Bulk Delete* setting is enabled.
{% endhint %}

No rows will be deleted if the conditions aren't met.

## Additional settings

If you need to delete multiple rows, you can select the [Bulk Delete](/reference/working-with-components/table/more-ways-to-use-the-component/select-multiple-rows-in-a-table.md#batch-delete) checkbox in the action's settings.

{% hint style="danger" %}
We recommend being very careful with this setting since it can delete all rows in the table.
{% endhint %}


---

# 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://docs.uibakery.io/reference/working-with-actions/delete-row-action.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.
