docker hub delete repository code example
Example: how to delete repository in docker hub
curl -u 'username:password' -XDELETE https://docker-registry.example.com/v1/repositories/busybox/
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<title>405 Method Not Allowed</title>
<h1>Method Not Allowed</h1>
<p>The method is not allowed for the requested URL.</p>