Skip to main content

This version of GitHub Enterprise Server was discontinued on 2024-09-25. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.

Permissions required for fine-grained personal access tokens

For each permission granted to a fine-grained personal access token, these are the REST API endpoints that the app can use.

In this article

About permissions required for fine-grained personal access token

When you create a fine-grained personal access token, you grant it a set of permissions. Permissions define what resources the GitHub App can access via the API. For more information, see Managing your personal access tokens.

These permissions are required to access private resources. Some endpoints can also be used to access public resources without these permissions. To see whether an endpoint can access public resources without a permission, see the documentation for that endpoint.

Some endpoints require more than one permission. Other endpoints work with any one permission from a set of permissions. In these cases, the "Additional permissions" column will include a checkmark. For full details about the permissions that are required to use the endpoint, see the documentation for that endpoint.

Organization permissions for "Administration"

EndpointAccessAdditional permissions
PATCH /orgs/{org}write
DELETE /orgs/{org}write
PUT /orgs/{org}/actions/oidc/customization/subwrite
PUT /orgs/{org}/actions/permissionswrite
PUT /orgs/{org}/actions/permissions/repositorieswrite
PUT /orgs/{org}/actions/permissions/repositories/{repository_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /orgs/{org}/actions/permissions/selected-actionswrite
PUT /orgs/{org}/actions/permissions/workflowwrite
PUT /orgs/{org}/security-managers/teams/{team_slug}write
DELETE /orgs/{org}/security-managers/teams/{team_slug}write
POST /orgs/{org}/{security_product}/{enablement}write
GET /organizations/{organization_id}/custom_rolesreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /orgs/{org}/actions/cache/usageread
GET /orgs/{org}/actions/cache/usage-by-repositoryread
GET /orgs/{org}/actions/oidc/customization/subread
GET /orgs/{org}/actions/permissionsread
GET /orgs/{org}/actions/permissions/repositoriesread
GET /orgs/{org}/actions/permissions/selected-actionsread
GET /orgs/{org}/actions/permissions/workflowread
GET /orgs/{org}/audit-logread
GET /orgs/{org}/custom-repository-rolesreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /orgs/{org}/custom-repository-roles/{role_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /orgs/{org}/installationsread
GET /orgs/{org}/repository-fine-grained-permissionsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /orgs/{org}/security-managersread
GET /orgs/{org}/settings/billing/advanced-securityread

Organization permissions for "Projects"

EndpointAccessAdditional permissions
GET /projects/{project_id}/collaboratorsadminMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /projects/{project_id}/collaborators/{username}adminMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /projects/{project_id}/collaborators/{username}adminMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /projects/{project_id}/collaborators/{username}/permissionadminMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /orgs/{org}/projectswrite
PATCH /projects/columns/cards/{card_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /projects/columns/cards/{card_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /projects/columns/cards/{card_id}/moveswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /projects/columns/{column_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /projects/columns/{column_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /projects/columns/{column_id}/cardswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /projects/columns/{column_id}/moveswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /projects/{project_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /projects/{project_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /projects/{project_id}/columnswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /orgs/{org}/projectsread
GET /projects/columns/cards/{card_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /projects/columns/{column_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /projects/columns/{column_id}/cardsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /projects/{project_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /projects/{project_id}/columnsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.

Organization permissions for "Self-hosted runners"

EndpointAccessAdditional permissions
POST /orgs/{org}/actions/runner-groupswrite
PATCH /orgs/{org}/actions/runner-groups/{runner_group_id}write
DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}write
PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositorieswrite
PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runnerswrite
PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}write
DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/runners/{runner_id}write
POST /orgs/{org}/actions/runners/generate-jitconfigwrite
POST /orgs/{org}/actions/runners/registration-tokenwrite
POST /orgs/{org}/actions/runners/remove-tokenwrite
DELETE /orgs/{org}/actions/runners/{runner_id}write
POST /orgs/{org}/actions/runners/{runner_id}/labelswrite
PUT /orgs/{org}/actions/runners/{runner_id}/labelswrite
DELETE /orgs/{org}/actions/runners/{runner_id}/labelswrite
DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}write
GET /orgs/{org}/actions/runner-groupsread
GET /orgs/{org}/actions/runner-groups/{runner_group_id}read
GET /orgs/{org}/actions/runner-groups/{runner_group_id}/repositoriesread
GET /orgs/{org}/actions/runner-groups/{runner_group_id}/runnersread
GET /orgs/{org}/actions/runnersread
GET /orgs/{org}/actions/runners/downloadsread
GET /orgs/{org}/actions/runners/{runner_id}read
GET /orgs/{org}/actions/runners/{runner_id}/labelsread

Repository permissions for "Actions"

EndpointAccessAdditional permissions
DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}write
DELETE /repos/{owner}/{repo}/actions/cacheswrite
DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}write
POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerunwrite
PUT /repos/{owner}/{repo}/actions/oidc/customization/subwrite
DELETE /repos/{owner}/{repo}/actions/runs/{run_id}write
POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancelwrite
DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logswrite
POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerunwrite
POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobswrite
PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disablewrite
POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatcheswrite
PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enablewrite
GET /repos/{owner}/{repo}/actions/artifactsread
GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}read
GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}read
GET /repos/{owner}/{repo}/actions/cache/usageread
GET /repos/{owner}/{repo}/actions/cache/usage-policyread
GET /repos/{owner}/{repo}/actions/cachesread
GET /repos/{owner}/{repo}/actions/jobs/{job_id}read
GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logsread
GET /repos/{owner}/{repo}/actions/oidc/customization/subread
GET /repos/{owner}/{repo}/actions/runsread
GET /repos/{owner}/{repo}/actions/runs/{run_id}read
GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvalsread
GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifactsread
GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}read
GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobsread
GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logsread
GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobsread
GET /repos/{owner}/{repo}/actions/runs/{run_id}/logsread
GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deploymentsread
POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deploymentsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/actions/workflowsread
GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}read
GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runsread
GET /repos/{owner}/{repo}/environmentsread
GET /repos/{owner}/{repo}/environments/{environment_name}read
GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policiesread
GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}read
GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rulesread
GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}read

Repository permissions for "Administration"

EndpointAccessAdditional permissions
POST /orgs/{org}/reposwrite
PATCH /repos/{owner}/{repo}write
DELETE /repos/{owner}/{repo}write
PATCH /repos/{owner}/{repo}/actions/cache/usage-policywrite
PUT /repos/{owner}/{repo}/actions/permissionswrite
PUT /repos/{owner}/{repo}/actions/permissions/accesswrite
PUT /repos/{owner}/{repo}/actions/permissions/selected-actionswrite
PUT /repos/{owner}/{repo}/actions/permissions/workflowwrite
POST /repos/{owner}/{repo}/actions/runners/generate-jitconfigwrite
POST /repos/{owner}/{repo}/actions/runners/registration-tokenwrite
POST /repos/{owner}/{repo}/actions/runners/remove-tokenwrite
DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}write
POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labelswrite
PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labelswrite
DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labelswrite
DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}write
POST /repos/{owner}/{repo}/autolinkswrite
DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}write
PUT /repos/{owner}/{repo}/branches/{branch}/protectionwrite
DELETE /repos/{owner}/{repo}/branches/{branch}/protectionwrite
POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_adminswrite
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_adminswrite
PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviewswrite
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviewswrite
POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatureswrite
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatureswrite
PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checkswrite
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checkswrite
POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contextswrite
PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contextswrite
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contextswrite
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictionswrite
POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/appswrite
PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/appswrite
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/appswrite
POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teamswrite
PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teamswrite
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teamswrite
POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/userswrite
PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/userswrite
DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/userswrite
PATCH /repos/{owner}/{repo}/code-scanning/default-setupwrite
PUT /repos/{owner}/{repo}/collaborators/{username}write
DELETE /repos/{owner}/{repo}/collaborators/{username}write
PUT /repos/{owner}/{repo}/environments/{environment_name}write
DELETE /repos/{owner}/{repo}/environments/{environment_name}write
POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policieswrite
PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}write
DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}write
POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_ruleswrite
DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}write
POST /repos/{owner}/{repo}/forkswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /repos/{owner}/{repo}/invitations/{invitation_id}write
DELETE /repos/{owner}/{repo}/invitations/{invitation_id}write
POST /repos/{owner}/{repo}/keyswrite
DELETE /repos/{owner}/{repo}/keys/{key_id}write
POST /repos/{owner}/{repo}/pageswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /repos/{owner}/{repo}/pageswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/pageswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/tags/protectionwrite
DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}write
PUT /repos/{owner}/{repo}/topicswrite
POST /repos/{owner}/{repo}/transferwrite
PUT /repos/{owner}/{repo}/vulnerability-alertswrite
DELETE /repos/{owner}/{repo}/vulnerability-alertswrite
POST /repos/{template_owner}/{template_repo}/generatewrite
POST /user/reposwrite
PATCH /user/repository_invitations/{invitation_id}write
DELETE /user/repository_invitations/{invitation_id}write
GET /repos/{owner}/{repo}/actions/permissionsread
GET /repos/{owner}/{repo}/actions/permissions/accessread
GET /repos/{owner}/{repo}/actions/permissions/selected-actionsread
GET /repos/{owner}/{repo}/actions/permissions/workflowread
GET /repos/{owner}/{repo}/actions/runnersread
GET /repos/{owner}/{repo}/actions/runners/downloadsread
GET /repos/{owner}/{repo}/actions/runners/{runner_id}read
GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labelsread
GET /repos/{owner}/{repo}/autolinksread
GET /repos/{owner}/{repo}/autolinks/{autolink_id}read
GET /repos/{owner}/{repo}/automated-security-fixesread
GET /repos/{owner}/{repo}/branches/{branch}/protectionread
GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_adminsread
GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviewsread
GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signaturesread
GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checksread
GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contextsread
GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictionsread
GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/appsread
GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teamsread
GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/usersread
GET /repos/{owner}/{repo}/code-scanning/default-setupread
GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/appsread
GET /repos/{owner}/{repo}/invitationsread
GET /repos/{owner}/{repo}/keysread
GET /repos/{owner}/{repo}/keys/{key_id}read
GET /repos/{owner}/{repo}/replicas/cachesread
GET /repos/{owner}/{repo}/tags/protectionread
GET /repos/{owner}/{repo}/teamsread
GET /repos/{owner}/{repo}/vulnerability-alertsread
GET /user/repository_invitationsread

Repository permissions for "Contents"

EndpointAccessAdditional permissions
POST /repos/{owner}/{repo}/branches/{branch}/renamewrite
PATCH /repos/{owner}/{repo}/comments/{comment_id}write
DELETE /repos/{owner}/{repo}/comments/{comment_id}write
POST /repos/{owner}/{repo}/comments/{comment_id}/reactionswrite
DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}write
PUT /repos/{owner}/{repo}/contents/{path}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /repos/{owner}/{repo}/contents/{path}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/contents/{path}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/contents/{path}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/dependency-graph/snapshotswrite
POST /repos/{owner}/{repo}/dispatcheswrite
POST /repos/{owner}/{repo}/git/blobswrite
POST /repos/{owner}/{repo}/git/commitswrite
POST /repos/{owner}/{repo}/git/refswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/git/refswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /repos/{owner}/{repo}/git/refs/{ref}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /repos/{owner}/{repo}/git/refs/{ref}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/git/refs/{ref}write
POST /repos/{owner}/{repo}/git/tagswrite
POST /repos/{owner}/{repo}/git/treeswrite
POST /repos/{owner}/{repo}/merge-upstreamwrite
POST /repos/{owner}/{repo}/mergeswrite
PUT /repos/{owner}/{repo}/pulls/{pull_number}/mergewrite
POST /repos/{owner}/{repo}/releaseswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/releaseswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}write
DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}write
POST /repos/{owner}/{repo}/releases/generate-noteswrite
PATCH /repos/{owner}/{repo}/releases/{release_id}write
DELETE /repos/{owner}/{repo}/releases/{release_id}write
GET /repos/{owner}/{repo}/branchesread
GET /repos/{owner}/{repo}/branches/{branch}read
GET /repos/{owner}/{repo}/codeowners/errorsread
GET /repos/{owner}/{repo}/commitsread
GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-headread
POST /repos/{owner}/{repo}/commits/{commit_sha}/commentsread
GET /repos/{owner}/{repo}/commits/{ref}read
GET /repos/{owner}/{repo}/compare/{basehead}read
GET /repos/{owner}/{repo}/contents/{path}read
GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}read
GET /repos/{owner}/{repo}/dependency-graph/sbomread
POST /repos/{owner}/{repo}/forksreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/git/blobs/{file_sha}read
GET /repos/{owner}/{repo}/git/commits/{commit_sha}read
GET /repos/{owner}/{repo}/git/matching-refs/{ref}read
GET /repos/{owner}/{repo}/git/ref/{ref}read
GET /repos/{owner}/{repo}/git/tags/{tag_sha}read
GET /repos/{owner}/{repo}/git/trees/{tree_sha}read
GET /repos/{owner}/{repo}/pulls/{pull_number}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/releasesread
GET /repos/{owner}/{repo}/releases/assets/{asset_id}read
GET /repos/{owner}/{repo}/releases/latestread
GET /repos/{owner}/{repo}/releases/tags/{tag}read
GET /repos/{owner}/{repo}/releases/{release_id}read
GET /repos/{owner}/{repo}/releases/{release_id}/assetsread
GET /repos/{owner}/{repo}/tarball/{ref}read
GET /repos/{owner}/{repo}/zipball/{ref}read

Repository permissions for "Environments"

EndpointAccessAdditional permissions
PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/environments/{environment_name}/variableswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/environments/{environment_name}/secretsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-keyreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/environments/{environment_name}/variablesreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.

Repository permissions for "Issues"

EndpointAccessAdditional permissions
POST /repos/{owner}/{repo}/issueswrite
PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactionswrite
DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}write
PATCH /repos/{owner}/{repo}/issues/{issue_number}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/issues/{issue_number}/assigneeswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/issues/{issue_number}/assigneeswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/issues/{issue_number}/commentswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/issues/{issue_number}/labelswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /repos/{owner}/{repo}/issues/{issue_number}/labelswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/issues/{issue_number}/labelswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /repos/{owner}/{repo}/issues/{issue_number}/lockwriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/issues/{issue_number}/lockwriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/issues/{issue_number}/reactionswrite
DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}write
POST /repos/{owner}/{repo}/labelswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /repos/{owner}/{repo}/labels/{name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/labels/{name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/milestoneswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /repos/{owner}/{repo}/milestones/{milestone_number}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/milestones/{milestone_number}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/assigneesreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/assignees/{assignee}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issuesread
GET /repos/{owner}/{repo}/issues/commentsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/comments/{comment_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactionsread
GET /repos/{owner}/{repo}/issues/eventsread
GET /repos/{owner}/{repo}/issues/events/{event_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/{issue_number}read
GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/{issue_number}/commentsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/{issue_number}/eventsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/{issue_number}/labelsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/{issue_number}/reactionsread
GET /repos/{owner}/{repo}/issues/{issue_number}/timelinereadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/labelsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/labels/{name}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/milestonesreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/milestones/{milestone_number}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/milestones/{milestone_number}/labelsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.

Repository permissions for "Metadata"

EndpointAccessAdditional permissions
GET /notificationsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /orgs/{org}/actions/permissions/repositories/{repository_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /orgs/{org}/reposread
GET /repos/{owner}/{repo}read
GET /repos/{owner}/{repo}/collaboratorsread
GET /repos/{owner}/{repo}/collaborators/{username}read
GET /repos/{owner}/{repo}/collaborators/{username}/permissionread
GET /repos/{owner}/{repo}/commentsread
GET /repos/{owner}/{repo}/comments/{comment_id}read
GET /repos/{owner}/{repo}/comments/{comment_id}/reactionsread
GET /repos/{owner}/{repo}/commits/{commit_sha}/commentsread
GET /repos/{owner}/{repo}/contributorsread
GET /repos/{owner}/{repo}/eventsread
GET /repos/{owner}/{repo}/forksread
GET /repos/{owner}/{repo}/languagesread
GET /repos/{owner}/{repo}/licenseread
GET /repos/{owner}/{repo}/stargazersread
GET /repos/{owner}/{repo}/stats/code_frequencyread
GET /repos/{owner}/{repo}/stats/commit_activityread
GET /repos/{owner}/{repo}/stats/contributorsread
GET /repos/{owner}/{repo}/stats/participationread
GET /repos/{owner}/{repo}/stats/punch_cardread
GET /repos/{owner}/{repo}/subscribersread
GET /repos/{owner}/{repo}/tagsread
GET /repos/{owner}/{repo}/topicsread
GET /repositoriesread
GET /search/labelsread
GET /user/installations/{installation_id}/repositoriesread
GET /user/reposread
GET /user/starred/{owner}/{repo}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /user/starred/{owner}/{repo}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /user/starred/{owner}/{repo}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /users/{username}/reposread

Repository permissions for "Projects"

EndpointAccessAdditional permissions
PATCH /projects/columns/cards/{card_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /projects/columns/cards/{card_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /projects/columns/cards/{card_id}/moveswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /projects/columns/{column_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /projects/columns/{column_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /projects/columns/{column_id}/cardswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /projects/columns/{column_id}/moveswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /projects/{project_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /projects/{project_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /projects/{project_id}/collaboratorswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /projects/{project_id}/collaborators/{username}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /projects/{project_id}/collaborators/{username}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /projects/{project_id}/collaborators/{username}/permissionwriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /projects/{project_id}/columnswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/projectswrite
GET /projects/columns/cards/{card_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /projects/columns/{column_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /projects/columns/{column_id}/cardsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /projects/{project_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /projects/{project_id}/columnsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/projectsread

Repository permissions for "Pull requests"

EndpointAccessAdditional permissions
PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /repos/{owner}/{repo}/issues/{issue_number}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/issues/{issue_number}/assigneeswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/issues/{issue_number}/assigneeswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/issues/{issue_number}/commentswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/issues/{issue_number}/labelswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /repos/{owner}/{repo}/issues/{issue_number}/labelswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/issues/{issue_number}/labelswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PUT /repos/{owner}/{repo}/issues/{issue_number}/lockwriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/issues/{issue_number}/lockwriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/labelswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /repos/{owner}/{repo}/labels/{name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/labels/{name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/milestoneswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /repos/{owner}/{repo}/milestones/{milestone_number}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/milestones/{milestone_number}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
POST /repos/{owner}/{repo}/pullswrite
PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}write
DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}write
POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactionswrite
DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}write
PATCH /repos/{owner}/{repo}/pulls/{pull_number}write
POST /repos/{owner}/{repo}/pulls/{pull_number}/commentswrite
POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replieswrite
POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewerswrite
DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewerswrite
POST /repos/{owner}/{repo}/pulls/{pull_number}/reviewswrite
PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}write
DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}write
PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissalswrite
POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/eventswrite
PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branchwrite
GET /repos/{owner}/{repo}/assigneesreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/assignees/{assignee}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/commits/{commit_sha}/pullsread
GET /repos/{owner}/{repo}/issues/commentsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/comments/{comment_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/events/{event_id}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/{issue_number}/commentsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/{issue_number}/eventsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/{issue_number}/labelsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/issues/{issue_number}/timelinereadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/labelsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/labels/{name}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/milestonesreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/milestones/{milestone_number}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/milestones/{milestone_number}/labelsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/pullsread
GET /repos/{owner}/{repo}/pulls/commentsread
GET /repos/{owner}/{repo}/pulls/comments/{comment_id}read
GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactionsread
GET /repos/{owner}/{repo}/pulls/{pull_number}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/pulls/{pull_number}/commentsread
GET /repos/{owner}/{repo}/pulls/{pull_number}/commitsread
GET /repos/{owner}/{repo}/pulls/{pull_number}/filesread
GET /repos/{owner}/{repo}/pulls/{pull_number}/mergeread
GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewersread
GET /repos/{owner}/{repo}/pulls/{pull_number}/reviewsread
GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}read
GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/commentsread

Repository permissions for "Secrets"

EndpointAccessAdditional permissions
PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}write
DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}write
PUT /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/actions/organization-secretsread
GET /repos/{owner}/{repo}/actions/secretsread
GET /repos/{owner}/{repo}/actions/secrets/public-keyread
GET /repos/{owner}/{repo}/actions/secrets/{secret_name}read
GET /repos/{owner}/{repo}/environments/{environment_name}/secretsreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/public-keyreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/environments/{environment_name}/secrets/{secret_name}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.

Repository permissions for "Variables"

EndpointAccessAdditional permissions
POST /repos/{owner}/{repo}/actions/variableswrite
PATCH /repos/{owner}/{repo}/actions/variables/{name}write
DELETE /repos/{owner}/{repo}/actions/variables/{name}write
POST /repos/{owner}/{repo}/environments/{environment_name}/variableswriteMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
PATCH /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
DELETE /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}writeMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/actions/organization-variablesread
GET /repos/{owner}/{repo}/actions/variablesread
GET /repos/{owner}/{repo}/actions/variables/{name}read
GET /repos/{owner}/{repo}/environments/{environment_name}/variablesreadMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.
GET /repos/{owner}/{repo}/environments/{environment_name}/variables/{name}readMultiple permissions are required, or a different permission may be used. For more information about the permissions, see the documentation for this endpoint.