1

Now that Google Apps Vault supports licensing for a subset of users, I'd like to be able to manage Vault users with the Licensing API. However, it seems that while the Reseller API supports Vault as a product and sku, the License Manager API does not.

Thinking maybe the documentation was just lagging as sometimes happens, I tried a licensing.licenseAssignments.listForProduct() API call with Google-Vault as both the productId and skuId as is used in the Reseller API. It returned a 400 error with the message Invalid productId: Google-Vault

Is there a non-reseller way to manage Vault licenses programatically? If not can this be added as an enhancement request?

Jay Lee
  • 13,415
  • 3
  • 28
  • 59
  • This may seem like a silly question - but have you already tried the SKU IDs from the Reseller API w/ the License Manager API? – Arun Nagarajan Aug 20 '13 at 02:23
  • No, good question, should have mentioned above. I tried Google-Vault as product and sku as it is in reseller API. A list() operation returns a 400 error with a message of "Invalid productId: Google-Vault" – Jay Lee Aug 20 '13 at 09:49
  • This sounds like an oversight or there might be a reason I don't see. Will investigate. Thanks for the details. – Arun Nagarajan Aug 22 '13 at 15:42

1 Answers1

2

Try to use VAULT as the productID and Google-Vault as skuID. See if that works!

Emily
  • 1,464
  • 1
  • 9
  • 12
  • that works. Strange that it would differ from the format used by other products and the reseller API but working is working :-) – Jay Lee Oct 23 '13 at 09:32
  • 1
    Note that it looks like this has changed. I had verified that using VAULT as the product worked but now it seems to need Google-Vault. – Jay Lee Nov 04 '13 at 15:33
  • They now have a page that lists all those values : https://developers.google.com/admin-sdk/licensing/v1/how-tos/products – Dany Gauthier Dec 01 '15 at 16:41