gh api /user

Category: GitHub CLI

gh api /user

Make an authenticated GET request to the /user GitHub API endpoint

Makes an authenticated GET request to the /user GitHub API endpoint.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.