_rev=$(curl "http://api.openwifimap.net/db/$1" \ | python -c 'import json,sys;print(json.load(sys.stdin)["_rev"])') curl -X DELETE "http://openwifimap.net/openwifimap/$1?rev=$_rev"