Manage agent integration cleanup when provider cleanup fails

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.

Forced deletion may leave resources Ampersand created in the provider, such as a Salesforce Apex trigger, which may need separate cleanup.

Start building
deep integrations today