Hi Bryan,

To move an user to a different OU (including the root), you can follow the
instructions at

http://code.google.com/googleapps/domain/gdata_provisioning_api_v2.0_developers_protocol.html#Updating_an_Organization_User

and send a PUT request to

https://apps-apis.google.com/a/feeds/orguser/2.0/the customerId/the
organization user's email

with the following body:

<?xml version="1.0" encoding="UTF-8"?>
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom"; xmlns:apps="
http://schemas.google.com/apps/2006";>
<apps:property name="oldOrgUnitPath" value="current OU" />
<apps:property name="orgUnitPath" value="new OU" />
</atom:entry>

If you want to move the user to the root, just specify "/" as "orgUnitPath".
Hope it helps

Claudio

On Tue, May 10, 2011 at 12:29 PM, Bryan Rembold <[email protected]> wrote:

> I am able to successfully move users from the root to all subOU's and
> from SubOU's to other SubOU's, what I cannot do is move a user from a
> SubOU back to the Root.
>
> What would the URL look like?
>
> https://apps-apis.google.com/a/feeds/orgunit/2.0/{CustomerID}/  ??
>
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Apps Domain Information and Management APIs" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-apps-mgmt-apis?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Apps Domain Information and Management APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Reply via email to