Adding automation/purge endpoint