Unshare folder
- OpenAPI 3.1.0 document: https://api.rollstack.com/public/v1/openapi.json
- The whole reference in Markdown: https://docs.rollstack.com/llms-full.txt
- An index of the reference: https://docs.rollstack.com/llms.txt
DELETE https://api.rollstack.com/public/v1/folders/{id}/shares/{userId}
Removes a member's direct share of a folder, and their access to its reports' files in Drive unless they still reach the folder through a parent folder, as the app does. Access through a parent folder stays: unshare that folder instead. Needs manage on the folder, or owning it, except to unshare it from yourself.
Requires the slide_decks:write scope.
Operation ID: unshareFolder.
Path parameters
id(string, required): The folder to act on, by itsidfromlistFoldersorcreateFolder.userId(integer, required): The member to share the folder with, or to unshare it from: theiridfromlistMembers, which only owners and admins can call, or theiruserIdinaccessfromgetFolder. Only active members of the organization. Anyone the folder is shared with can unshare it from themselves.
Headers
Idempotency-Key(string): A unique value, such as a UUID, that makes retrying this call safe. A retry with the same key within 24 hours answers the first call's result instead of running it again. Use a new key for each new call. From 1 to 255 printable ASCII characters.
Response 204
Success, no content