# 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="https://837703843-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUX6zPRMFFK0yrTghj7cY%2Fuploads%2FvOQkvXYJUocnwwD0zKVi%2FCleanShot%202025-05-12%20at%2013.41.21%402x-min.png?alt=media&#x26;token=c275dd26-1acc-4be0-ab6f-4f0e2ef72519" 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](https://docs.uibakery.io/working-with-components/table/more-ways-to-use-the-component/select-multiple-rows-in-a-table#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 %}
