Hi Vinny! First, thank you for the response and speed.
I don't had enabled the Api Acces, and now I can use this API Explorer, and delete the User. But I don't know how can make this with java and App Engine. My problem it's with the credential and the Directory instance, like I said in the first entrance. How Can I connect Correctly to my Direction Api With Java? Thanks and regards! El miércoles, 11 de septiembre de 2013 01:10:57 UTC+2, Vinny P escribió: > > On Tue, Sep 10, 2013 at 10:34 AM, Gonzalo Zamarro < > [email protected] <javascript:>> wrote: > >> I'm trying to access google admin-directory API to create, delete or >> remove users as administrator. >> I'm trying to develop an application that allows to update or delete a >> user. >> >> In the first way, I used the code shown: >> http://stackoverflow.com/questions/16729165/google-admin-directory-api-is-returning-400-bad-request >> >> How can I fix the error that occurs in the first case? >> > > > There are a number of issues that could go wrong here. > > First, you may want to double check that the account you're using has the > proper authorizations: use the APIs Explorer to test out operations: > https://developers.google.com/admin-sdk/directory/v1/reference/users/delete#try-it > > > If that works, try using the REST API directly and see if you can > authorize properly: > https://developers.google.com/admin-sdk/directory/v1/reference/ > > > > ----------------- > -Vinny P > Technology & Media Advisor > Chicago, IL > > App Engine Code Samples: http://www.learntogoogleit.com > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
