---
type: api
title: Delete GeoIP database configurations
description: Delete one or more IP geolocation database configurations.
url: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v9/operation/operation-ingest-delete-geoip-database
resource: https://www.elastic.co/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v9/operation/operation-ingest-delete-geoip-database
products:
  - Elasticsearch
---

# Delete GeoIP database configurations

Availability: 8.15+

## Paths

- `DELETE` `/_ingest/geoip/database/{id}`

- [Api key auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v9/authentication#apikeyauth)
- [Basic auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v9/authentication#basicauth)
- [Bearer auth](/elastic/docs-builder/docs/4371/api/doc/elasticsearch/v9/authentication#bearerauth)

#### Path Parameters

- `id` (union Id | [] Id)
  A comma-separated list of geoip database configurations to delete

## Description

Delete one or more IP geolocation database configurations.

## Query String Parameters

- `master_timeout` (string Duration · default: 30s)
  The period to wait for a connection to the master node.
If no response is received before the timeout expires, the request fails and returns an error.
- `timeout` (string Duration · default: 30s)
  The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.

## Response

`application/json`

- `acknowledged` (boolean)
  For a successful response, this value is always true. On failure, an exception is returned instead.
## Code Examples

#### Console

```console
DELETE /_ingest/geoip/database/{id}
```

#### curl

```curl
curl -X DELETE "/_ingest/geoip/database/{id}"
```

