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

GitHub Enterprise administration

Use the REST API to administer your enterprise.

Note: This information applies to GitHub Enterprise Cloud. To see the GitHub AE or 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 "Creating a personal access token ."

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