Skip to content

Instantly share code, notes, and snippets.

@orzklv
Created May 31, 2023 15:17
Show Gist options
  • Save orzklv/36f51865d591378bc4fa6e97c89fa4dd to your computer and use it in GitHub Desktop.
Save orzklv/36f51865d591378bc4fa6e97c89fa4dd to your computer and use it in GitHub Desktop.
Set custom location for GitHub user or Organization
curl -H "Authorization: bearer GH_PAT_HERE" -d '{"location":"YOUR CUSTOM LOCATION"}' https://api.github.com/orgs/ORG_NAME
curl -H "Authorization: bearer GH_PAT_HERE" -d '{"location":"YOUR CUSTOM LOCATION"}' https://api.github.com/user
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment