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

GitHub Enterprise administration

You can use these endpoints to administer your enterprise.

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

面向企业管理员的 REST API 仅支持使用 personal access token (classic) 进行身份验证。 有关详细信息,请参阅“创建 personal access token ”。

Endpoint URLs

REST API endpoints are prefixed with the following URL:

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, replace {enterprise} with octo-enterprise.