Deleting a package version for a container on ghcr.io results in a 500 error #24963
-
I’m trying out the newly released functionality to delete a container image tag on the container registry at ghcr.io via the rest api endpoint documented here I’m using it like this:
15 in this case is the image tag. Since first trying it yesterday it always results in a 500 error with the following headers and payload:
Deleting the whole package without specifying a version (tag) works fine. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
You need to use the version ID, not the tag, as listed in the response to the |
Beta Was this translation helpful? Give feedback.
-
Yes, you are correct. Thank you! |
Beta Was this translation helpful? Give feedback.
You need to use the version ID, not the tag, as listed in the response to the
https://api.github.com/user/packages/container/{package}/versions
endpoint.