Skip to content

Create a public SSH key for the authenticated user mentions wrong personal access token scope #39867

@gotsport-ci

Description

@gotsport-ci

Code of Conduct

What article on docs.github.com is affected?

https://docs.github.com/en/rest/users/keys?apiVersion=2022-11-28#create-a-public-ssh-key-for-the-authenticated-user

What part(s) of the article would you like to see updated?

The docs currently say

OAuth app tokens and personal access tokens (classic) need the write:gpg_key scope to use this endpoint. I'm 99% sure it should be write:public_key.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamfix-internallyTriggers a workflow to copy the issue internally and close the current issuerestContent related to rest - overview.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions