mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-24 23:27:25 -04:00
55 lines
1.4 KiB
Text
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.]
|