Unable to delete duplicate Release

I’m creating releases as part of build process. I have one release finalized and one not finalized.

sentry-cli releases list
+----------------+---------+------------+------------+
| Released       | Version | New Events | Last Event |
+----------------+---------+------------+------------+
| 14 minutes ago | 1.0.0   | 0          | -          |
| (unreleased)   | 1.0.0   | 0          | -          |

If I try and delete a release I get:

sentry-cli releases delete 1.0.0
  Deleted release 1.0.0!

sentry-cli releases delete 1.0.0
  Did nothing. Release with this version (1.0.0) does not exist.

sentry-cli releases list
+--------------+---------+------------+------------+
| Released     | Version | New Events | Last Event |
+--------------+---------+------------+------------+
| (unreleased) | 1.0.0   | 0          | -          |
+--------------+---------+------------+------------+

How do I delete that release to start fresh?

I discovered this is because versions are prefixed behind the scenes with the package Id. You can see the real version id by hovering over the version link in UI and looking at url.

Although 2 show as 1.0.0. One was actually {packageId}-1.0.0. Using this instead I was able to delete the additional version.