Trying to move users between PO's using curl/API. Command seems to be doing something, but user never moves and never shows up in the "failed move" node.
Script I am using (and i've tried many variations)
curl -k --user admin:xxxxxx -H "Content-Type: application/json" -X POST -d '{"GWPO6":"POST_OFFICE.myDomain.GWPO6","sources":[{"GWLLPO":"myDomain.GWLLPO.User1","createNickname":"true"}]}' 172.18.11.180:9710/.../moverequests --output /tmp/out.txt
The first PO listed above is the source and the second is the destination. I have tried flipping those around to no success.
The results I see when firing the script are as follows:
Any help would be greatly appreciated.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 121 0 7 100 114 7000 111k --:--:-- --:--:-- --:--:-- 118k