Hi,
I am currently trying to delete google apps accounts in bulk using the
google API.

I am successfully obtaining an Auth token using an admin level
account, I then make a DELETE http request type to this URL:
https://www.google.com/a/feeds/{domain}/user/2.0/{username_to_delete}
.

In the header, I put the following:
<?xml version="1.0" encoding="UTF-8"?>
Content-Type:application/atom+xml
Content-Length:{xml length}
Authorization: {auth token}

Body is:
<atom:entry xmlns:atom="http://www.w3.org/2005/Atom";
xmlns:apps="http://schemas.google.com/apps/2006";>
<atom:category scheme="http://schemas.google.com/g/2005#kind";
term="http://schemas.google.com/apps/2006#user"/>
</atom:entry>

Do I need anything in the body?  This is similar to the way I have
done account creations and updates (different http request types) and
it works fine.
The response I get is 501 : Not implemented

Any help appreciated.
Cheers.
Stephen.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps 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-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to