Delete image API