Unshare report
- 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/reports/{id}/shares/{userId}
Removes a user's share of a report of any type, and their access to its file when it updates one, as the app does.
Requires the slide_decks:write scope.
Operation ID: unshareReport.
Path parameters
id(string, required): The report to act on, of anytype, by itsidfromlistReportsorcreateReport. You can also copy it from the report's link in Rollstack (appUrl): it's the part right after/slides/or/destinations/.userId(integer, required): The member to share the report with, or to unshare it from. Use theiridfromlistMembers, which only owners and admins can call, or theiruserIdinsharedWithfromgetReportif the report is already shared with them. You can share a report only with active members of the organization, and not with yourself. Anyone the report is shared with can unshare it from themselves, even withviewpermission.
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