...
On This Page
Table of Contents |
---|
Overview
This feature will allow the user to remove permissions from either the source or destination via the REST API. To do this, we can use the following DELETE calls to remove all, or some of the permissions as desired. This can be applied to both files and folders.
Files
This will delete all permissions on the specified file path as specified by the ID. No body is needed for this request.
...
Code Block |
---|
[ { "sid": { "name": "TestUser02", "email": "Tuser02@company.onmicrosoft.com", "username": "Tuser02@company.onmicrosoft.com", "id": "75", "external_id": "i:0#.f|membership|Tuser02@company.onmicrosoft.com", "type": "account", "principal_type": 1 }, "rights": [ "read_write" ] } ] |
Folders
Removing permissions from Folders is much the same as Files above. Those with /all do not require bodies. Calls pointing to a specific folder do, and follow the same pattern as Files.
...