I'm trying to retrieve data for a deleted user (in order to undelete it) in this way:
var users = AdminDirectory.Users.list({
domain: 'mydomain.com',
showDeleted: 'true',
query: 'email=name.surname@mydomain.com'
});
query parameter seems to be ignored: this code returns a list of all deleted users, while if I run the same code for active users (no showDeleted:'true', and email of active user) it returns the user's email address as expected
am I missing anything? or is this the default behavior when showDeleted:'true' is used?
thank you