> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete a version

> Retire an old API version once consumers have moved off it.

<Steps>
  <Step title="Select the version">
    Open the destination and switch to the version you want to remove.
  </Step>

  <Step title="Open the header menu">
    Click **⋮** next to **Publish**.

    <img src="https://mintcdn.com/occtoo/1WzHqAa_CdnC2GBq/images/guides/studio/destinations/destination-header-menu.png?fit=max&auto=format&n=1WzHqAa_CdnC2GBq&q=85&s=ebed9f114c41c39b97cc929717d76b4b" alt="The destination header menu" width="1440" height="320" data-path="images/guides/studio/destinations/destination-header-menu.png" />
  </Step>

  <Step title="Delete it">
    Select **Delete version** and confirm.
  </Step>
</Steps>

<Warning>
  Deleting a version takes its URL out of service immediately. Any consumer still calling `.../v{number}` starts failing — confirm they have moved before you delete.
</Warning>

Deleting the only remaining version deletes the destination, and Studio returns you to the destinations listing.

<Info>
  Deletion is not instant: the version passes through **Deleting** while it is torn down. Deleted versions stop counting toward the environment's destination totals and disappear from Dashboard traffic figures.
</Info>

Keeping old versions is not free — see the note on version count in [Create a version](/guides/studio/destinations/create-a-version).
