View source: R/generated_client.R
| services_put_shares_groups | R Documentation | 
Set the permissions groups has on this object
services_put_shares_groups(
  id,
  group_ids,
  permission_level,
  share_email_body = NULL,
  send_shared_email = NULL
)
id | 
 integer required. The ID of the resource that is shared.  | 
group_ids | 
 array required. An array of one or more group IDs.  | 
permission_level | 
 string required. Options are: "read", "write", or "manage".  | 
share_email_body | 
 string optional. Custom body text for e-mail sent on a share.  | 
send_shared_email | 
 boolean optional. Send email to the recipients of a share.  | 
A list containing the following elements:
readers | 
 list, A list containing the following elements: 
  | 
writers | 
 list, A list containing the following elements: 
  | 
owners | 
 list, A list containing the following elements: 
  | 
totalUserShares | 
 integer, For owners, the number of total users shared. For writers and readers, the number of visible users shared.  | 
totalGroupShares | 
 integer, For owners, the number of total groups shared. For writers and readers, the number of visible groups shared.  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.