12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- [[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.]
|