Managing an agent’s integrations can get messy when trying to clean up or delete a customer’s installation. There are many reasons why cleanup can fail, but now Ampersand supports a force option for installation deletion.
An installation can get stuck when:
- The customer revokes access or the connection’s credentials expire, so Ampersand cannot authenticate to remove resources.
- The connection loses permission to remove the resources.
- Provider cleanup fails because a request to remove a resource is rejected.
- A subscription change is still pending, and normal deletion cannot proceed.
A stuck installation can prevent the customer from reinstalling or changing their integration setup. Now an agent can retry the Delete Installation API request with ?force=true. Ampersand removes the installation even if provider cleanup fails or a subscription change is pending. Deletion without force works as before.
Without force · deletion stops
Delete installation
cleanup runs first
Provider cleanupfails, or a subscription change is pending
deletion stops
Installation stuckthe customer can’t reinstall or change setup
When cleanup succeeds, a normal delete works as before.
With force · deletion finishes
Delete installationretried with
?force=truecleanup no longer blocks
Provider cleanupmay still fail or be pending
installation removed anyway
Installation removed
Provider resources may remain after a forced deletion.
Forced deletion may leave resources Ampersand created in the provider, such as a Salesforce Apex trigger, which may need separate cleanup.