Create or update a GeoIP database configuration
- PUT /_ingest/geoip/database/{id}
Refer to the create or update IP geolocation database configuration API.
Path Parameters
-
idstring Idrequired -
ID of the database configuration to create or update.
Query Parameters
-
master_timeoutstring Duration · default: 30s 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.
-
timeoutstring Duration · default: 30s Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
Request
-
namestring Namerequired -
The provider-assigned name of the IP geolocation database to download.
-
maxmindMaxmindrequired -
The configuration necessary to identify which IP geolocation provider to use to download the database, as well as any provider-specific configuration necessary for such downloading. At present, the only supported provider is maxmind, and the maxmind provider requires that an account_id (string) is configured.
-
account_idstring Idrequired
Response
-
acknowledgedbooleanrequired -
For a successful response, this value is always true. On failure, an exception is returned instead.