R/generated_client.R
templates_put_scripts_shares_users.Rd
Set the permissions users have on this object
templates_put_scripts_shares_users( id, user_ids, permission_level, share_email_body = NULL, send_shared_email = NULL )
id | integer required. The ID of the resource that is shared. |
---|---|
user_ids | array required. An array of one or more user 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:
list, A list containing the following elements:
users array,
groups array,
list, A list containing the following elements:
users array,
groups array,
list, A list containing the following elements:
users array,
groups array,
integer, For owners, the number of total users shared. For writers and readers, the number of visible users shared.
integer, For owners, the number of total groups shared. For writers and readers, the number of visible groups shared.