Create or update GeoIP database configurations Added in 8.15.0
Create or update IP geolocation database configurations.
Path parameters
-
ID of the database configuration to create or update.
Query parameters
-
master_timeout string
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
-
timeout string
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
PUT /_ingest/geoip/database/{id}
curl \
-X PUT http://api.example.com/_ingest/geoip/database/{id} \
-H "Content-Type: application/json" \
-d '{"name":"string","maxmind":{"account_id":"string"}}'
Request examples
{
"name": "string",
"maxmind": {
"account_id": "string"
}
}
Response examples (200)
{
"acknowledged": true
}