Skip to content

Grants and scopes

ValueMeaning
ALL_REPOAll current and future repositories you own
SELECTED_REPOOnly repository_ids listed at create/update

ALL matches every check. GIT_HTTP_WRITE implies GIT_HTTP_READ.

OperationGrant
GET /v1/account/usageany token
GET /v1/repositoriesany token (filtered by scope)
GET /v1/repos/{user}/{name}any token that includes that repo
Create / delete repoAPI_REPOS_WRITE
git clone / fetchGIT_HTTP_READ
git pushGIT_HTTP_WRITE
Branches / commits APIAPI_COMMITS_READ
WebhooksAPI_WEBHOOKS
BYO storageAPI_STORAGE
OIDC trust rulesAPI_OIDC_TRUST (and ALL_REPO)
Access token adminALL and ALL_REPO

OIDC-exchanged tokens carry the grants on the matching trust rule.