---
type: api
title: Delete a backfill by ID
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v0/operation/operation-delete-alerting-rules-backfill-id
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/kibana/v0/operation/operation-delete-alerting-rules-backfill-id
products:
  - Kibana
---

# Delete a backfill by ID

- Server: `https://{kibana_url}`

## Paths

- `DELETE` `/api/alerting/rules/backfill/{id}`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v0/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/kibana/v0/authentication#basicauth)

#### Path Parameters

- `id` (string)
  The identifier for the backfill.

## Responses

#### `204`

Indicates a successful call.

#### `400`

Indicates an invalid schema or parameters.

#### `403`

Indicates that this call is forbidden.

#### `404`

Indicates a backfill with the given ID does not exist.

## Code Examples

#### Console

```console
DELETE /api/alerting/rules/backfill/{id}
```

#### curl

```curl
curl -X DELETE "https://{kibana_url}/api/alerting/rules/backfill/{id}" \
  -H "kbn-xsrf: true"
```

