Deployment retention not deleting old deployments

I have deployment retention enabled on all my projects with a duration of 30 days.

But for some of my projects, 10 old deployments are still listed and are not deleted and I want them to be automatically deleted.

Can you help me?

Hey @lfavole! Welcome :smile:

When you set up a 30-day retention policy, Vercel doesn’t immediately delete those older deployments. Instead, it starts a gradual process:

  1. First, deployments exceeding the 30-day limit get marked for deletion.
  2. Then, they enter a 30-day recovery period where they’re still visible but might return a 410 status code.

So, those 10 old deployments you’re seeing? They may be in this state – marked for deletion but not quite gone yet.

Quick tips:

  • Double-check your retention settings for all deployment types (preview, production, etc.)
  • For instant action, you can manually delete specific deployments from the Deployments tab
  • Keep an eye on the “Recently Deleted” section in your project’s Security settings

If these deployments stick around for more than 60 days (30-day policy + 30-day recovery), let us know :slight_smile:

Some relevant documentation:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.