1
0

delete-geoip-database.asciidoc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [[delete-geoip-database-api]]
  2. === Delete geoip database configuration API
  3. ++++
  4. <titleabbrev>Delete geoip database configuration</titleabbrev>
  5. ++++
  6. Deletes a geoip database configuration.
  7. [source,console]
  8. ----
  9. DELETE /_ingest/geoip/database/my-database-id
  10. ----
  11. // TEST[skip:we don't want to leak the enterprise-geoip-downloader task, which touching these APIs would cause. Therefore, skip this test.]
  12. [[delete-geoip-database-api-request]]
  13. ==== {api-request-title}
  14. `DELETE /_ingest/geoip/database/<database>`
  15. [[delete-geoip-database-api-prereqs]]
  16. ==== {api-prereq-title}
  17. * If the {es} {security-features} are enabled, you must have the
  18. `manage` <<privileges-list-cluster,cluster privilege>> to use this API.
  19. [[delete-geoip-database-api-path-params]]
  20. ==== {api-path-parms-title}
  21. `<database>`::
  22. +
  23. --
  24. (Required, string) Database configuration ID used to limit the request.
  25. --
  26. [[delete-geoip-database-api-query-params]]
  27. ==== {api-query-parms-title}
  28. include::{es-ref-dir}/rest-api/common-parms.asciidoc[tag=timeoutparms]
  29. [[delete-geoip-database-api-example]]
  30. ==== {api-examples-title}
  31. [[delete-geoip-database-api-specific-ex]]
  32. ===== Delete a specific geoip database configuration
  33. [source,console]
  34. ----
  35. DELETE /_ingest/geoip/database/example-database-id
  36. ----
  37. // TEST[skip:we don't want to leak the enterprise-geoip-downloader task, which touching these APIs would cause. Therefore, skip this test.]