Seafile Web API - How can I move a folder to another libary?

There is “move file” but it doesn’t seem to work, i’m getting a 404

Then there’s rename directory that doesn’t take a target library

All other requests like getting folder listings and creating a folder seem to work nicely, so I think my core API code is fine.