elasticsearch/docs/reference/ingest/apis/delete-geoip-database.asciidoc
Keith Massey c6a7537df7
Ingest download databases docs (#111688)
Co-authored-by: Joe Gallo <joegallo@gmail.com>
2024-08-08 09:23:56 -05:00

55 lines
1.4 KiB
Text

[[delete-geoip-database-api]]
=== Delete geoip database configuration API
++++
<titleabbrev>Delete geoip database configuration</titleabbrev>
++++
Deletes a geoip database configuration.
[source,console]
----
DELETE /_ingest/geoip/database/my-database-id
----
// TEST[skip:we don't want to leak the enterprise-geoip-downloader task, which touching these APIs would cause. Therefore, skip this test.]
[[delete-geoip-database-api-request]]
==== {api-request-title}
`DELETE /_ingest/geoip/database/<database>`
[[delete-geoip-database-api-prereqs]]
==== {api-prereq-title}
* If the {es} {security-features} are enabled, you must have the
`manage` <<privileges-list-cluster,cluster privilege>> to use this API.
[[delete-geoip-database-api-path-params]]
==== {api-path-parms-title}
`<database>`::
+
--
(Required, string) Database configuration ID used to limit the request.
--
[[delete-geoip-database-api-query-params]]
==== {api-query-parms-title}
include::{es-ref-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
[[delete-geoip-database-api-example]]
==== {api-examples-title}
[[delete-geoip-database-api-specific-ex]]
===== Delete a specific geoip database configuration
[source,console]
----
DELETE /_ingest/geoip/database/example-database-id
----
// TEST[skip:we don't want to leak the enterprise-geoip-downloader task, which touching these APIs would cause. Therefore, skip this test.]