Have anybody the correct and working syntax for a user move for me? I want move a lot of users from PO1 to PO2 with the command line to avoid a lot of clicking in the admin console.
Thanks for any hint!
Cybersecurity
DevOps Cloud
IT Operations Cloud
Have anybody the correct and working syntax for a user move for me? I want move a lot of users from PO1 to PO2 with the command line to avoid a lot of clicking in the admin console.
Thanks for any hint!
Hmm. Do these users have a unique property? Starting with a, member of department or ...
So use a filter for this. Then select these users and move ...
In this case easier than ReST API.
Use "Verified Answers" if your problem/issue has been solved!
ok, 3 steps back and keep it simple. Diethmar, you are right, the filter in the admin console is probably more efficient.
Thanks for the tip!
But just in case someone has already done this successfully with the RestApi - I'll gladly take the info ;-)
I usually would write a little script, maybe in python, to iterate through a csv file to do this type of thing, , you can have more control over things. if you wish to do it from the command line then this command works for me.
curl -k --user admin:n0v3ll -H "Content-Type: application/json" -X POST -d '{"postOfficeId":"POST_OFFICE.dom1.po2-1","sources":[{"id":"USER.DOM1.PO1-1.userr20","createNickname":"true"}]}' 172.17.2.180:9710/.../moverequests
I would suggest you read the REST API documentation for more information, for instance you can pass down multiple users to move.
Hi Robin,
Thank you so much for this line. I read the documentation but it seems I misunderstand something. I have the same syntax as you but source and destination PO in the opposite order. That is the mistake.
Works perfect now!
This is all very confusing, literals vs directives in these commands.
Lets say I had a user named jsmith who resides on a post office called GWPO6 in a domain called testdomain and I wanted to move that user to a post office in the same domain called GWLLPO, how would your example be altered.