Remove current song from queue

Hi,

I would like to be able to remove current song from playing queue using commandline (shellscript). I found in docs, that there is a websocket api command to remove song from queue (removeFromQueue), but I do not know how to use it. Could anybody direct me how to use websocket api commands from shellscript?