Skip to main content

Unshare report

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 any type, by its id from listReports or createReport. 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 their id from listMembers, which only owners and admins can call, or their userId in sharedWith from getReport if 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 with view permission.

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