RemovePermission

Represents a request to revoke one or more user’s access to a file/folder.

Fields

global itemIdString

AURAENABLED OTHER

Id of the drive item (file or folder) for which the recipients will lose permissions.

global objectSettingsNameString

AURAENABLED INVOCABLEVARIABLE

The API name of the SharePoint Object Setting Custom Metadata used to complete the action.

global reasonString

AURAENABLED INVOCABLEVARIABLE

The reason why the permission was removed from the given recipients, max 2000 chars.

global recipientString

AURAENABLED INVOCABLEVARIABLE

The 36-character SharePoint User Id of the person who will lose access. Used only in flows.

global recipientsList<String>

AURAENABLED

A list of 36-character SharePoint User Ids of the people who will lose access. Used only in Apex.

global rolesString

AURAENABLED OTHER

The permission role that will be revoked from the recipient of the sharing invitation (“read” or “write”).