Delete IP geolocation database configurations
Generally available; Added in 8.15.0
Required authorization
- Cluster privileges:
manage
Path parameters
-
id
string | array[string] Required A comma-separated list of IP location database configurations.
Query parameters
-
master_timeout
string 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
-1
indicates that the request should never time out.Values are
-1
or0
. -
timeout
string The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. A value of
-1
indicates that the request should never time out.Values are
-1
or0
.
DELETE
/_ingest/ip_location/database/{id}
Console
DELETE /_ingest/ip_location/database/my-database-id
resp = client.ingest.delete_ip_location_database(
id="my-database-id",
)
const response = await client.ingest.deleteIpLocationDatabase({
id: "my-database-id",
});
response = client.ingest.delete_ip_location_database(
id: "my-database-id"
)
$resp = $client->ingest()->deleteIpLocationDatabase([
"id" => "my-database-id",
]);
curl -X DELETE -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_ingest/ip_location/database/my-database-id"