fine-grained personal access token에 필요한 권한 정보
fine-grained personal access token을(를) 만들 때 사용 권한 집합을 부여합니다. 권한은 GitHub App이(가) API를 통해 액세스할 수 있는 리소스를 정의합니다. 자세한 내용은 "개인용 액세스 토큰 관리"을(를) 참조하세요.
올바른 사용 권한을 선택하는 데 도움이 되도록 REST API 응답에서 X-Accepted-GitHub-Permissions
헤더를 받게 됩니다. 헤더는 엔드포인트에 액세스하는 데 필요한 권한을 알려줍니다. 자세한 정보는 "REST API 문제 해결"을(를) 참조하세요.
프라이빗 리소스에 액세스하려면 이러한 권한이 필요합니다. 일부 엔드포인트는 이러한 권한 없이 퍼블릭 리소스에 액세스하는 데 사용할 수도 있습니다. 엔드포인트가 권한 없이 퍼블릭 리소스에 액세스할 수 있는지 확인하려면 해당 엔드포인트에 대한 설명서를 참조하세요.
일부 엔드포인트에는 둘 이상의 권한이 필요합니다. 다른 엔드포인트는 사용 권한 집합에서 하나의 권한으로 작동합니다. 이러한 경우 "추가 권한" 열에는 확인 표시가 포함됩니다. 엔드포인트를 사용하는 데 필요한 권한에 대한 자세한 내용은 해당 엔드포인트에 대한 설명서를 참조하세요.
Business permissions for "Enterprise administration"
Organization permissions for "Administration"
Organization permissions for "Blocking users"
엔드포인트 | Access | 추가 권한 |
---|---|---|
PUT /orgs/{org}/blocks/{username} | write | |
DELETE /orgs/{org}/blocks/{username} | write | |
GET /orgs/{org}/blocks | read | |
GET /orgs/{org}/blocks/{username} | read |
Organization permissions for "Custom organization roles"
Organization permissions for "Custom properties"
Organization permissions for "Custom repository roles"
Organization permissions for "Events"
엔드포인트 | Access | 추가 권한 |
---|---|---|
GET /users/{username}/events/orgs/{org} | read |
Organization permissions for "GitHub Copilot Business"
Organization permissions for "Members"
Organization permissions for "Organization announcement banners"
엔드포인트 | Access | 추가 권한 |
---|---|---|
PATCH /orgs/{org}/announcement | write | |
DELETE /orgs/{org}/announcement | write | |
GET /orgs/{org}/announcement | read |
Organization permissions for "Organization codespaces secrets"
Organization permissions for "Organization codespaces settings"
엔드포인트 | Access | 추가 권한 |
---|---|---|
PUT /orgs/{org}/codespaces/access | write | |
POST /orgs/{org}/codespaces/access/selected_users | write | |
DELETE /orgs/{org}/codespaces/access/selected_users | write |
Organization permissions for "Organization codespaces"
Organization permissions for "Organization dependabot secrets"
Organization permissions for "Personal access token requests"
Organization permissions for "Personal access tokens"
Organization permissions for "Projects"
Organization permissions for "Secrets"
Organization permissions for "Self-hosted runners"
Organization permissions for "Team discussions"
Organization permissions for "Variables"
Organization permissions for "Webhooks"
Repository permissions for "Actions"
Repository permissions for "Administration"
Repository permissions for "Attestations"
엔드포인트 | Access | 추가 권한 |
---|---|---|
POST /repos/{owner}/{repo}/attestations | write | |
GET /repos/{owner}/{repo}/attestations/{subject_digest} | read |
Repository permissions for "Checks"
Repository permissions for "Code scanning alerts"
Repository permissions for "Codespaces lifecycle admin"
Repository permissions for "Codespaces metadata"
엔드포인트 | Access | 추가 권한 |
---|---|---|
GET /repos/{owner}/{repo}/codespaces/devcontainers | read | |
GET /repos/{owner}/{repo}/codespaces/machines | read | |
GET /user/codespaces/{codespace_name}/machines | read |
Repository permissions for "Codespaces secrets"
Repository permissions for "Codespaces"
Repository permissions for "Commit statuses"
엔드포인트 | Access | 추가 권한 |
---|---|---|
POST /repos/{owner}/{repo}/statuses/{sha} | write | |
GET /repos/{owner}/{repo}/commits/{ref}/status | read | |
GET /repos/{owner}/{repo}/commits/{ref}/statuses | read |
Repository permissions for "Contents"
Repository permissions for "Custom properties"
엔드포인트 | Access | 추가 권한 |
---|---|---|
PATCH /repos/{owner}/{repo}/properties/values | write |
Repository permissions for "Dependabot alerts"
Repository permissions for "Dependabot secrets"
Repository permissions for "Deployments"
Repository permissions for "Environments"
Repository permissions for "Issues"
Repository permissions for "Metadata"
Repository permissions for "Pages"
Repository permissions for "Projects"
Repository permissions for "Pull requests"
Repository permissions for "Repository security advisories"
Repository permissions for "Secret scanning alerts"
Repository permissions for "Secrets"
Repository permissions for "Variables"
Repository permissions for "Webhooks"
Repository permissions for "Workflows"
User permissions for "Block another user"
엔드포인트 | Access | 추가 권한 |
---|---|---|
PUT /user/blocks/{username} | write | |
DELETE /user/blocks/{username} | write | |
GET /user/blocks | read | |
GET /user/blocks/{username} | read |
User permissions for "Codespaces user secrets"
User permissions for "Email addresses"
엔드포인트 | Access | 추가 권한 |
---|---|---|
PATCH /user/email/visibility | write | |
POST /user/emails | write | |
DELETE /user/emails | write | |
GET /user/emails | read | |
GET /user/public_emails | read |
User permissions for "Followers"
엔드포인트 | Access | 추가 권한 |
---|---|---|
PUT /user/following/{username} | write | |
DELETE /user/following/{username} | write | |
GET /user/followers | read | |
GET /user/following | read | |
GET /user/following/{username} | read |
User permissions for "GPG keys"
엔드포인트 | Access | 추가 권한 |
---|---|---|
POST /user/gpg_keys | write | |
DELETE /user/gpg_keys/{gpg_key_id} | write | |
GET /user/gpg_keys | read | |
GET /user/gpg_keys/{gpg_key_id} | read |