We should be able to create repository in user's personal account using github app installation token #116331
Unanswered
k-anshul
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
It is possible to create a repository in an organisation using github app installation token.
Ref : https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#create-an-organization-repository
However it is not possible to do so in a user's account even if user has authorised and installed Github App.
https://docs.github.com/en/rest/repos/repos?apiVersion=2022-11-28#create-a-repository-for-the-authenticated-user
Not sure why this is not allowed and why different behaviour for org repository vs account repository.
Beta Was this translation helpful? Give feedback.
All reactions