How to remove elixir package on hex

2.1k views Asked by At

I want to remove published elixir package on hex. I already know that I can only delete it up to one hour after creation with this command.

mix hex.publish --revert VERSION

But, Is there another way to delete package that is over one hour after creation on hex ? Thanks for every suggestion.

2

There are 2 answers

2
whatyouhide On BEST ANSWER

Quoting the documentation of the hex.publish mix task:

If you want to revert a publication that is more than one hour old you need to contact an administrator.

0
elpddev On

You can revert to a package back to the starting point with no version.

mix hex.publish --revert 0.0.1

This will revert the version 0.0.1 published and will leave the package with no code in it, just the name for now until admin will remove the package as requested.