If you have used the registry at, you already know that the option to delete an individual tagged entry is not available on the interface.

From what I can tell, there isn’t a way to accomplish this, even in the REST interface. The best I have been able to do is to use the REST DELETE command to delete the repository. This means downloading any images I want to save, deleting the repository, recreating the repository, and uploading these saved images back to the repository.

The rest of this blog is what happened when I used the REST DELETE command to delete the repository.

Steps to Delete a Repository

  • Go to https:/ and sign in and go to Repositories screen. I did this to verify the repository I wanted to delete.


  • I wanted to delete the repository arthurm10/hello.js.
  • Open a terminal window.
  • The command is:
curl --raw -L -X DELETE
 --user <repository>:<password>
 -H "Accept: application/json"
 -H "Content-Type: application/json"
  1. The -L says follow any redirects (see 5.)
  2. <repository> is the string in front of the / and is also called the name space.
  3. <name> is the string after the / and is called the name.
  4. <password> is the password used for access to the repository.
  5. The --post301 is to prevent switching to a GET after a 301 redirect.
  • The previous example was a template. Here is my invocation with my userid:
curl --raw -L -X DELETE
> --user arthurm10:<password>
> -H "Accept: application/json"
> -H "Content-type: application/json"
> --post 301
  • The return was:
 Arthurs-MacBook-Pro:~ arthur$

Not very helpful.

  • The website didn’t show anything useful until after a refresh and then showed this:


  • I waited 10 minutes for this action to complete, then I tried refreshing the screen. Same thing. Then for reasons I don’t understand, I issued the same command using the up arrow. I got exactly the same response on the command line.
  • Refreshed the browser window and the repository is gone.


I really don’t know if it’s gone. (I am not paying for the hub account.) It’s just no longer cluttering up my window.

Leave a Reply

Your email address will not be published.