I have been using this code to upload pictures to imgur:
CLIENT_ID = "Your_applications_client_id"
PATH = "A Filepath to an image on your computer"
im = pyimgur.Imgur(CLIENT_ID)
uploaded_image = im.upload_image(PATH, title="Uploaded with PyImgur")
The answer was: print(uploaded_image.deletebash) and once you get that code: imgur.com/delete/