Maker API, how would I issue the setEffect command on my Nanoleaf light?

(Fake token) but I can turn my Nanoleaf light on or off using the following:

http://10.0.1.153/apps/api/346/devices/648/on?access_token=2af13b18-4a89-4a80-8ee1-f1xxxxxxxxxx

I basically want to issue this command though, just wondering the syntax on the URL to do so:

I tried this but it says device not found or not authorized to send that command: http://10.0.1.153/apps/api/346/devices/648/setEffect=4?access_token=2af13b18-4a89-4a80-8ee1-f1xxxxxxxxxx

This, however, does work to cycle through effects:
http://10.0.1.153/apps/api/346/devices/648/setNextEffect?access_token=2af13b18-4a89-4a80-8ee1-f1xxxxxxxxxx

Appreciate any help, thanks!

Instead of setEffect=4, I think you want setEffect/4 - making the command parameter part of the path