Create or update an IP geolocation database configuration
- PUT /_ingest/ip_location/database/{id}
- Cluster privileges:
manage
Path Parameters
-
idstring Idrequired -
The database configuration identifier.
Query Parameters
-
master_timeoutstring Duration · default: 30s The 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. A value of
-1indicates that the request should never time out.-
timeoutstring Duration · default: 30s The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. If no response is received before the timeout expires, the cluster metadata update still applies but the response indicates that it was not completely acknowledged. A value of
-1indicates that the request should never time out.
Request
-
namestring Namerequired -
The provider-assigned name of the IP geolocation database to download.
-
maxmindMaxmind -
account_idstring Idrequired -
ipinfoIpinfo
Response
-
acknowledgedbooleanrequired -
For a successful response, this value is always true. On failure, an exception is returned instead.