A service can be “detached” from an app. This involves removing the environment variable bindings from the app.

Go to the service detail page from the “Services” tab in the app,

In the Service details page, click on the “Detach” button next to the app you want to detach the service from.

This will trigger a redeployment of the app.