Teardown hook? Reverse of `initialDeployHook`


When setting up a preview environment, we have some side-effects in initialDeployHook in order to get the preview functioning correctly. Some of these things are for instance setting up webhooks in other services.

I’m wondering, is there a reverse hook that can be triggered when a preview environment is terminated?

Hey Alexander,
This is a great idea - I’d encourage you to vote on https://feedback.render.com/features/p/teardown-hook-for-preview-environments and follow it for updates on this feature,


John B