RemovePermission
Represents a request to revoke one or more user’s access to a file/folder.
Fields
global itemId
→ String
AURAENABLED
OTHER
Id of the drive item (file or folder) for which the recipients will lose permissions.
global objectSettingsName
→ String
AURAENABLED
INVOCABLEVARIABLE
The API name of the SharePoint Object Setting Custom Metadata used to complete the action.
global reason
→ String
AURAENABLED
INVOCABLEVARIABLE
The reason why the permission was removed from the given recipients, max 2000 chars.
global recipient
→ String
AURAENABLED
INVOCABLEVARIABLE
The 36-character SharePoint User Id of the person who will lose access. Used only in flows.
global recipients
→ List<String>
AURAENABLED
A list of 36-character SharePoint User Ids of the people who will lose access. Used only in Apex.
global roles
→ String
AURAENABLED
OTHER
The permission role that will be revoked from the recipient of the sharing invitation (“read” or “write”).