Curl Purge

curl -X PURGE example.com
This command will only work if you have acl_purge to allow the IP address to purge:
acl purge {
  "localhost";
  "127.0.0.1";
  "163.172.209.217";
}
This prevents anyone purging someone elses cache.

Purge with varnishd command