---
title: "Delete rows"
method: DELETE
path: "/api/v2/reference-tables/tables/{id}/rows"
tags: ["Reference Tables"]
---

# Delete rows

`DELETE /api/v2/reference-tables/tables/{id}/rows`

## Request

- Base URL: `https://api.datadoghq.com`
- URL: `https://api.datadoghq.com/api/v2/reference-tables/tables/{id}/rows`
- Auth: one of:
  - API key in header `DD-API-KEY` and API key in header `DD-APPLICATION-KEY`
  - OAuth 2
    - Authorization code: `/oauth2/v1/authorize`
    - Token URL: `/oauth2/v1/token`

Delete multiple rows from a Reference Table by their primary key values.

## Path parameters

- `id` string, required

## Request body

- BatchDeleteRowsRequestArray: The request body for deleting multiple rows from a reference table.
  - `data` TableRowResourceIdentifier[], required: List of row resources to delete from the reference table.
    - `id` string, required: The primary key value that uniquely identifies the row to delete.
    - `type` 'row', required: Row resource type.

## Response `200`

Rows deleted successfully

## Other responses

- `400`: Bad Request
- `403`: Forbidden
- `404`: Not Found
- `429`: Too many requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/datadog/apis/datadog-api-v2-collection.md) - [All operations](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/llms.txt) - [OpenAPI document](https://skmtc.dev/datadog/apis/datadog-api-v2-collection/revisions/da68bf029e4c?raw)
