@kyanny's blog

印刷は人間に対し市場を作り出し、国民軍を創設する方法も教えたのであった - マーシャル・マクルーハン「グーデンベルグの銀河系」

gh: Must have admin rights to Repository. (HTTP 403)

This error happens if the OAuth token that gh command uses doesn't have enough scope.

According to the document, in default, gh auth login grants minimum scopes that are "repo" and "read:org".

You can add more scopes by -s option. For example, if you want to let gh command delete repository, you can reauthenticate gh command by

gh auth login -s delete_repo

See also: gh auth login | GitHub CLI