What scopes needs to be provided in O-Auth Application in order to add Deploy Key for a Repo via API call? #118278
Unanswered
shikharOfficial
asked this question in
API and Webhooks
Replies: 1 comment
-
Any update for this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I have the Admin access to one of the organisation account which has a Repo named "A". I want to add a Deploy Key for the Repo "A". What scopes needs to be provided in O-Auth Call so that the token received can be used to add Deploy Key for that Repo via API call?
This link provides all the available scopes that can be provided in O-Auth. Scope for Deploy Key is not mentioned in the link.
API Endpoint: POST: https://api.github.com/repos/{Repo-Owner}/{Repo-Name)/keys
Headers: Authorization: Bearer <gho_*********>
Beta Was this translation helpful? Give feedback.
All reactions