Skip to main content
The REST API is now versioned. For more information, see "About API versioning."

REST API endpoints for GitHub Enterprise administration

Use the REST API to administer your enterprise.

Note: This information applies to GitHub Enterprise Cloud. To see the GitHub Enterprise Server version, use the Article version drop-down menu.

These endpoints only support authentication using a personal access token (classic). For more information, see "Managing your personal access tokens."

Endpoint URLs

These endpoints are prefixed with the following URL:

https://api.github.com

When endpoints include {enterprise}, replace {enterprise} with the handle for your enterprise account, which is included in the URL for your enterprise settings. For example, if your enterprise account is located at https://github.com/enterprises/octo-enterprise, replace {enterprise} with octo-enterprise.

Endpoints