12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- [[delete-ip-location-database-api]]
- === Delete IP geolocation database configuration API
- ++++
- <titleabbrev>Delete IP geolocation database configuration</titleabbrev>
- ++++
- .New API reference
- [sidebar]
- --
- For the most up-to-date API details, refer to {api-es}/group/endpoint-ingest[Ingest APIs].
- --
- Deletes a IP geolocation database configuration.
- [source,console]
- ----
- DELETE /_ingest/ip_location/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-ip-location-database-api-request]]
- ==== {api-request-title}
- `DELETE /_ingest/ip_location/database/<database>`
- [[delete-ip-location-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-ip-location-database-api-path-params]]
- ==== {api-path-parms-title}
- `<database>`::
- +
- --
- (Required, string) Database configuration ID used to limit the request.
- --
- [[delete-ip-location-database-api-query-params]]
- ==== {api-query-parms-title}
- include::{es-ref-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
- [[delete-ip-location-database-api-example]]
- ==== {api-examples-title}
- [[delete-ip-location-database-api-specific-ex]]
- ===== Delete a specific IP geolocation database configuration
- [source,console]
- ----
- DELETE /_ingest/ip_location/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.]
|