Delete docker images from docker hub

How can i delete last 10 tags of the images in dockerhub from public or private repo? I am using azure container registry for saving images

Source: StackOverflow