According to the Directory API Prerequisites, resellers should be able to perform API calls against their customer's Google Apps instance (except for mobile and chrome device calls). This is done by specifying the customer's customerId
attribute rather than that of the reseller (or the generic my_customer
).
I am finding though that when performing groups API calls, even when specifying the customer's customerId
, I get back results for the reseller domain, not the customer. It seems customerId
is entirely ignored for groups.list() operations. If I specify the domain
attribute and not customerId
, I do get back the groups for that customer domain but this is not helpful for a multi-domain customer where I may not know all of the customer's domains (and have no way to discover them all).
Is anyone else experiencing this issue or am I doing something wrong?