How delete helm chart from GitLab package with api call

I’m using GitLab package for the helm chart but I’m unable to delete the helm chart from GitLab package using gitlab API

Method I tried: I tried curl --request DELETE --header “PRIVATE-TOKEN: TOKEN” “https://gitlab.test.in/api/v4/projects/:id/packages/helm/:stable/charts/:test-0.160.0.tgz

Is there any way to delete helm chart from GitHub package using gitlab API ?

To delete a Helm chart from GitLab Package using the GitLab API, ensure your curl command has the correct URL format, parameters, and PRIVATE-TOKEN. If issues persist, consult GitLab’s API documentation or reach out to support for help.