Subscribe to deleted page events in confluence?

Is there a way to subscribe to events where a page is deleted?

I’ve been looking at the docs and I don’t see it currently

Hi @Nahi,

Unfortunately we don’t yet support subscribing to page deleted events in Forge, though they are tentatively scheduled for early-to-mid next year.

Could you share a bit more about your use-case? We may be able to suggest a workaround. For example, if you’re aiming to cleanup data associated with a page, in some cases it may be worth polling the REST API in a scheduled trigger to determine if a page still exists).

cheers,
Tim

@tpettersen I’m also looking forward to delete events for pages (and spaces, comments, etc.) to clean up data in Forge storage. Polling to determine if a page still exists can cause issues because an app cannot distinguish between deleted pages and pages it cannot access, for example, due to content restrictions.

@tpettersen
I am looking for delete event for pages. We need this for cleanup our App storge otherwise it is App storage and Confluence data is out of sync.

Hi @Nahi @klaussner @JoyBanerjee, just a quick note to share that we’re currently planning on adding support for page_removed and page_trashed events in Forge around the middle of this calendar year. (please note that timelines are tentative and subject to change)

Hello @tpettersen
I have implemented avi:confluence:trashed:page and avi:confluence:deleted:page in my Forge app but the events are simply not being delivered.

I have:

  • Correct event names in manifest
  • write:confluence-content scope added
  • Full uninstall + clean redeploy + fresh reinstall done (not just --upgrade)
  • Confirmed forge logs — created:page and updated:page fire fine in the same session
  • Tested both trashing a page and permanently deleting from Trash

Result: zero logs, zero invocations for any delete event.

This does not appear to be a configuration issue on my end.