Skip to main content

Remove datasheet from report

DELETE https://api.rollstack.com/public/v1/reports/{id}/datasheets/{datasheetId}

Removes a datasheet the report's slides no longer show, such as a source that was added and not used, or one whose read keeps failing. A datasheet a chart, table, picture or sentence still shows is refused: change or remove that slide first. The source itself, such as the dashboard or the uploaded file, is not touched. Only the report's editors may.

Requires the slide_decks:write scope.

Operation ID: removeReportDatasheet.

Path parameters

  • id (string, required): The report to act on, by its id from listReports or createReport. Only reports whose type is SlideDeck work here: another type, such as a Google Slides presentation, returns 400. You can also copy it from the report's link in Rollstack: it's the part right after /slides/.
  • datasheetId (string, required): One of this report's datasheets, by its id in listReportDatasheets.

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 200

Success

application/json

  • removed (array of string, required): The datasheet removed.