Skip to main content

We've recently moved some of the REST API documentation. If you can't find what you're looking for, you might try the Actions REST API page.

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 文章版本 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.