[#582] Fix tag delete to handle HTTP as well as CLI api calls