Deployment retention
Each environment keeps a limited number of deployments. When the limit is reached, the oldest deployment is automatically deleted to make room for the new one.
| Plan | Deployments retained |
|---|---|
| Dev | 2 |
| Launch | 5 |
| Grow | 15 |
| Scale | 50 |
| Enterprise | Unlimited |
The current deployment is never automatically deleted.
Manually deleting deployments
superseded and failed deployments can be deleted manually from the deployment detail page. The current deployment cannot be deleted.
Only organization owners and admins can delete deployments.
Deleting a deployment also removes its built image. A deleted deployment cannot be rolled back to. If you need the option to roll back to a specific deployment, do not delete it.