HAProxy Enterprise Documentation 1.8r2
Delete a single entry from a Map file.
A Map file contains a list of key-value pairs. You can reference the file on an
acl line by using the
-f /path/to/file flags. Use
del map to remove a single entry from a Map file. Note that this only removes it from HAProxy Enterprise's runtime memory and not from the file on disk.
In this example, we remove the entry that has the key static.example.com:
$ echo "del map /etc/hapee-1.8/hosts.map static.example.com" | socat stdio tcp4-connect:127.0.0.1:9999
Next up Lua scripts