---
title: "Delete rows matching a filter"
method: DELETE
path: "/dataset/{handle}/delete-rows-matching-filter"
tags: ["data"]
---

# Delete rows matching a filter

`DELETE /dataset/{handle}/delete-rows-matching-filter`

Deletes rows in a file that match the selected filter.

## Path parameters

- `handle` string, required

## Request body

- FilesDeleteRowsWithFilterRequest
  - `filterModel` object

## Response `200`

OK

- StructsResponse
  - `Message` string
  - `Success` boolean

## Other responses

- `202` — Accepted
- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `500` — Internal Server Error

---

[API](https://skmtc.dev/freshdesk/apis/gigasheet-api.md) · [All operations](https://skmtc.dev/freshdesk/apis/gigasheet-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/freshdesk/gigasheet-api/revisions/d1e5cbb24557/schema)
