Looker studio action

I wanted to use the looker studio (previously data studio) report. I want to add members with gmail to my report as viewer ability. There is an API in the looker studio reference document.

Here is the API doc:

  1. https://developers.google.com/looker-studio/integrate/api/reference/permissions/addMembers
  2. https://developers.google.com/looker-studio/integrate/api/reference/permissions/revokeAllPermissions


I would also like to remove permission for a certain gmail account.