Admin APIs on GitHub Packages #133911
Replies: 5 comments 4 replies
-
Hello, I understand the challenge you're facing with managing package permissions and linked repositories in GitHub Packages, especially with a large number of packages. As of now, GitHub does not provide a bulk management API specifically for package permissions or linked repositories. Unfortunately, the available REST and GraphQL APIs for GitHub Packages do not include endpoints for bulk updating package permissions or linking repositories. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
As an update, I did get in touch with GitHub support regarding this and there is currently no such APIs available 😢. So, I'm changing this to a feedback discussion. We would highly appreciate such APIs. |
Beta Was this translation helpful? Give feedback.
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
-
+1 could really use this! |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Question/Enhancement
Body
Hello,
In our organization we are using GitHub Packages to host several types of packages (Container images, npm, maven, etc.).
So far we have hundreds of such packages and, when they were created their permissions and linked repositories were not properly set for all of them.
Now, we want to change that, but, as far as I found there are no available APIs (REST or GraphQL) that would allow us to do this in bulk based on some logic.
Going through the UI of each package is not really feasible, since we are talking about quite a few.
Any suggestions on how we could do it programatically? Or the packages UI is our only option?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions