Announcements
This site is in read only until July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to control API Product visibility for particular users programmatically

Hi all,

Is there a possibility to hide some private API Products from some authorised users and control it programmatically?

As I understand currently all authorised users can see all API Products. I want users to see only those API products that they are attached to(have app and api-key) however from what I read in the docs it's not possible to enable such logic. So it seems I have to use audiences to control product visibility. The problem is that the number of users and products is too big so I want to write a script to add the users to different audiences based on the product they use but i can't find the API to assign users to the audience.

Please help me how can I make users to see only those API products that they actually use.

0 3 373
3 REPLIES 3