Skip to main content
GitHub Docs
Version:
Free, Pro, & Team
Search or ask Copilot
Search or ask
Copilot
Select language: current language is English
Search or ask Copilot
Search or ask
Copilot
Open menu
Collapse sidebar
Expand sidebar
Scroll breadcrumbs left
Home
REST API
Actions
Permissions
Scroll breadcrumbs right
REST API
API Version:
2026-03-10 (latest)
Quickstart
About the REST API
About the REST API
Comparing GitHub's APIs
API Versions
Breaking changes
OpenAPI description
Using the REST API
Getting started
Rate limits
Pagination
Libraries
Best practices
Troubleshooting
Timezones
CORS and JSONP
Issue event types
GitHub event types
Authentication
Authenticating
Keeping API credentials secure
Endpoints for GitHub App installation tokens
Endpoints for GitHub App user tokens
Endpoints for fine-grained PATs
Permissions for GitHub Apps
Permissions for fine-grained PATs
Guides
Script with JavaScript
Script with Ruby
Discover resources for a user
Delivering deployments
Rendering data as graphs
Working with comments
Building a CI server
Get started - Git database
Get started - Checks
Encrypt secrets
Actions
Artifacts
Cache
Actions concurrency groups
GitHub-hosted runners
OIDC
Permissions
About permissions for GitHub Actions
Get GitHub Actions permissions for an organization
Set GitHub Actions permissions for an organization
Get artifact and log retention settings for an organization
Set artifact and log retention settings for an organization
Get fork PR contributor approval permissions for an organization
Set fork PR contributor approval permissions for an organization
Get private repo fork PR workflow settings for an organization
Set private repo fork PR workflow settings for an organization
List selected repositories enabled for GitHub Actions in an organization
Set selected repositories enabled for GitHub Actions in an organization
Enable a selected repository for GitHub Actions in an organization
Disable a selected repository for GitHub Actions in an organization
Get allowed actions and reusable workflows for an organization
Set allowed actions and reusable workflows for an organization
Get self-hosted runners settings for an organization
Set self-hosted runners settings for an organization
List repositories allowed to use self-hosted runners in an organization
Set repositories allowed to use self-hosted runners in an organization
Add a repository to the list of repositories allowed to use self-hosted runners in an organization
Remove a repository from the list of repositories allowed to use self-hosted runners in an organization
Get default workflow permissions for an organization
Set default workflow permissions for an organization
Get GitHub Actions permissions for a repository
Set GitHub Actions permissions for a repository
Get the level of access for workflows outside of the repository
Set the level of access for workflows outside of the repository
Get artifact and log retention settings for a repository
Set artifact and log retention settings for a repository
Get fork PR contributor approval permissions for a repository
Set fork PR contributor approval permissions for a repository
Get private repo fork PR workflow settings for a repository
Set private repo fork PR workflow settings for a repository
Get allowed actions and reusable workflows for a repository
Set allowed actions and reusable workflows for a repository
Get default workflow permissions for a repository
Set default workflow permissions for a repository
Secrets
Self-hosted runner groups
Self-hosted runners
Variables
Workflow jobs
Workflow runs
Workflows
Activity
Events
Feeds
Notifications
Starring