GitHub Enterprise Admin API

The Enterprise Admin API from GitHub Enterprise — 1 operation(s) for enterprise admin.

GitHub OpenAPI

Operations 128

GET /enterprise-installation/{enterprise_or_org}/server-statistics Get GitHub Enterprise Server statistics #
POST /enterprises/{enterprise}/access-restrictions/disable Disable access restrictions for an enterprise #
POST /enterprises/{enterprise}/access-restrictions/enable Enable access restrictions for an enterprise #
GET /enterprises/{enterprise}/actions/permissions Get GitHub Actions permissions for an enterprise #
PUT /enterprises/{enterprise}/actions/permissions Set GitHub Actions permissions for an enterprise #
GET /enterprises/{enterprise}/actions/permissions/artifact-and-log-retention Get artifact and log retention settings for an enterprise #
PUT /enterprises/{enterprise}/actions/permissions/artifact-and-log-retention Set artifact and log retention settings for an enterprise #
GET /enterprises/{enterprise}/actions/permissions/fork-pr-contributor-approval Get fork PR contributor approval permissions for an enterprise #
PUT /enterprises/{enterprise}/actions/permissions/fork-pr-contributor-approval Set fork PR contributor approval permissions for an enterprise #
GET /enterprises/{enterprise}/actions/permissions/fork-pr-workflows-private-repos Get private repo fork PR workflow settings for an enterprise #
PUT /enterprises/{enterprise}/actions/permissions/fork-pr-workflows-private-repos Set private repo fork PR workflow settings for an enterprise #
GET /enterprises/{enterprise}/actions/permissions/organizations List selected organizations enabled for GitHub Actions in an enterprise #
PUT /enterprises/{enterprise}/actions/permissions/organizations Set selected organizations enabled for GitHub Actions in an enterprise #
PUT /enterprises/{enterprise}/actions/permissions/organizations/{org_id} Enable a selected organization for GitHub Actions in an enterprise #
DELETE /enterprises/{enterprise}/actions/permissions/organizations/{org_id} Disable a selected organization for GitHub Actions in an enterprise #
GET /enterprises/{enterprise}/actions/permissions/selected-actions Get allowed actions and reusable workflows for an enterprise #
PUT /enterprises/{enterprise}/actions/permissions/selected-actions Set allowed actions and reusable workflows for an enterprise #
GET /enterprises/{enterprise}/actions/permissions/self-hosted-runners Get self-hosted runners permissions for an enterprise #
PUT /enterprises/{enterprise}/actions/permissions/self-hosted-runners Set self-hosted runners permissions for an enterprise #
GET /enterprises/{enterprise}/actions/runner-groups List self-hosted runner groups for an enterprise #
POST /enterprises/{enterprise}/actions/runner-groups Create a self-hosted runner group for an enterprise #
GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id} Get a self-hosted runner group for an enterprise #
PATCH /enterprises/{enterprise}/actions/runner-groups/{runner_group_id} Update a self-hosted runner group for an enterprise #
DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id} Delete a self-hosted runner group from an enterprise #
GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations List organization access to a self-hosted runner group in an enterprise #
PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations Set organization access for a self-hosted runner group in an enterprise #
PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id} Add organization access to a self-hosted runner group in an enterprise #
DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id} Remove organization access to a self-hosted runner group in an enterprise #
GET /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners List self-hosted runners in a group for an enterprise #
PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners Set self-hosted runners in a group for an enterprise #
PUT /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id} Add a self-hosted runner to a group for an enterprise #
DELETE /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id} Remove a self-hosted runner from a group for an enterprise #
GET /enterprises/{enterprise}/actions/runners List self-hosted runners for an enterprise #
GET /enterprises/{enterprise}/actions/runners/deprecations/{version} Get runner version end-of-life schedule for an enterprise #
GET /enterprises/{enterprise}/actions/runners/downloads List runner applications for an enterprise #
POST /enterprises/{enterprise}/actions/runners/registration-token Create a registration token for an enterprise #
POST /enterprises/{enterprise}/actions/runners/remove-token Create a remove token for an enterprise #
GET /enterprises/{enterprise}/actions/runners/{runner_id} Get a self-hosted runner for an enterprise #
DELETE /enterprises/{enterprise}/actions/runners/{runner_id} Delete a self-hosted runner from an enterprise #
GET /enterprises/{enterprise}/actions/runners/{runner_id}/labels List labels for a self-hosted runner for an enterprise #
POST /enterprises/{enterprise}/actions/runners/{runner_id}/labels Add custom labels to a self-hosted runner for an enterprise #
PUT /enterprises/{enterprise}/actions/runners/{runner_id}/labels Set custom labels for a self-hosted runner for an enterprise #
DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels Remove all custom labels from a self-hosted runner for an enterprise #
DELETE /enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name} Remove a custom label from a self-hosted runner for an enterprise #
GET /enterprises/{enterprise}/announcement Get announcement banner for enterprise #
PATCH /enterprises/{enterprise}/announcement Set announcement banner for enterprise #
DELETE /enterprises/{enterprise}/announcement Remove announcement banner from enterprise #
GET /enterprises/{enterprise}/audit-log Get the audit log for an enterprise #
GET /enterprises/{enterprise}/audit-log/stream-key Get the audit log stream key for encrypting secrets #
GET /enterprises/{enterprise}/audit-log/streams List audit log stream configurations for an enterprise #
POST /enterprises/{enterprise}/audit-log/streams Create an audit log streaming configuration for an enterprise #
GET /enterprises/{enterprise}/audit-log/streams/{stream_id} List one audit log streaming configuration via a stream ID #
PUT /enterprises/{enterprise}/audit-log/streams/{stream_id} Update an existing audit log stream configuration #
DELETE /enterprises/{enterprise}/audit-log/streams/{stream_id} Delete an audit log streaming configuration for an enterprise #
GET /enterprises/{enterprise}/bypass-requests/push-rules List push rule bypass requests within an enterprise #
GET /enterprises/{enterprise}/code_security_and_analysis Get code security and analysis features for an enterprise #
PATCH /enterprises/{enterprise}/code_security_and_analysis Update code security and analysis features for an enterprise #
GET /enterprises/{enterprise}/consumed-licenses List enterprise consumed licenses #
GET /enterprises/{enterprise}/copilot/apps/model-policies Get model policies for agent apps #
PATCH /enterprises/{enterprise}/copilot/apps/model-policies Update model policies for enterprise apps #
GET /enterprises/{enterprise}/copilot/feature-policies Get feature policies for an enterprise #
PATCH /enterprises/{enterprise}/copilot/feature-policies Update feature policies for an enterprise #
GET /enterprises/{enterprise}/copilot/fusion/model-policies Get Copilot Fusion model policies for an enterprise #
PATCH /enterprises/{enterprise}/copilot/fusion/model-policies Update Copilot Fusion model policies for an enterprise #
GET /enterprises/{enterprise}/copilot/model-policies Get model policies for an enterprise #
PATCH /enterprises/{enterprise}/copilot/model-policies Update model policies for an enterprise #
POST /enterprises/{enterprise}/credential-authorizations Grant credential authorizations for enterprise organizations #
DELETE /enterprises/{enterprise}/credential-authorizations Revoke enterprise-delegated credential authorizations #
POST /enterprises/{enterprise}/credential-authorizations/revoke-all Revoke all credential authorizations for an enterprise #
POST /enterprises/{enterprise}/credential-authorizations/revoke-credential-type Revoke a single credential type for an enterprise #
POST /enterprises/{enterprise}/credential-authorizations/{username}/revoke Revoke credential authorizations for a user in an enterprise #
POST /enterprises/{enterprise}/credential-authorizations/{username}/revoke-credential-type Revoke a single credential type for a user in an enterprise #
GET /enterprises/{enterprise}/credentials List enterprise token inventory #
POST /enterprises/{enterprise}/credentials/exports Create an enterprise token inventory export #
GET /enterprises/{enterprise}/credentials/exports/{export_id} Get an enterprise token inventory export #
GET /enterprises/{enterprise}/credentials/{inventory_id} Get an enterprise token inventory item #
GET /enterprises/{enterprise}/enterprise-roles Get all enterprise roles for an enterprise #
DELETE /enterprises/{enterprise}/enterprise-roles/teams/{team_slug} Remove all enterprise roles from a team #
PUT /enterprises/{enterprise}/enterprise-roles/teams/{team_slug}/{role_id} Assign an enterprise role to a team #
DELETE /enterprises/{enterprise}/enterprise-roles/teams/{team_slug}/{role_id} Remove an enterprise role from a team #
DELETE /enterprises/{enterprise}/enterprise-roles/users/{username} Remove all enterprise roles from a user #
PUT /enterprises/{enterprise}/enterprise-roles/users/{username}/{role_id} Assign an enterprise role to an enterprise user #
DELETE /enterprises/{enterprise}/enterprise-roles/users/{username}/{role_id} Remove enterprise user role assignment #
GET /enterprises/{enterprise}/enterprise-roles/{role_id} Get an enterprise role #
GET /enterprises/{enterprise}/enterprise-roles/{role_id}/teams List teams that are assigned to an enterprise role #
GET /enterprises/{enterprise}/enterprise-roles/{role_id}/users List users that are assigned to an enterprise role #
POST /enterprises/{enterprise}/innersource-vulnerabilities/sync Sync innersource vulnerabilities for an enterprise #
GET /enterprises/{enterprise}/innersource-vulnerabilities/sync/status/{job_id} Get innersource vulnerability sync status for an enterprise #
GET /enterprises/{enterprise}/license-sync-status Get a license sync status #
GET /enterprises/{enterprise}/network-configurations List hosted compute network configurations for an enterprise #
POST /enterprises/{enterprise}/network-configurations Create a hosted compute network configuration for an enterprise #
GET /enterprises/{enterprise}/network-configurations/{network_configuration_id} Get a hosted compute network configuration for an enterprise #
PATCH /enterprises/{enterprise}/network-configurations/{network_configuration_id} Update a hosted compute network configuration for an enterprise #
DELETE /enterprises/{enterprise}/network-configurations/{network_configuration_id} Delete a hosted compute network configuration from an enterprise #
GET /enterprises/{enterprise}/network-settings/{network_settings_id} Get a hosted compute network settings resource for an enterprise #
GET /enterprises/{enterprise}/org-properties/schema Get organization custom properties schema for an enterprise #
PATCH /enterprises/{enterprise}/org-properties/schema Create or update organization custom property definitions on an enterprise #
GET /enterprises/{enterprise}/org-properties/schema/{custom_property_name} Get an organization custom property definition from an enterprise #
PUT /enterprises/{enterprise}/org-properties/schema/{custom_property_name} Create or update an organization custom property definition on an enterprise #
DELETE /enterprises/{enterprise}/org-properties/schema/{custom_property_name} Remove an organization custom property definition from an enterprise #
GET /enterprises/{enterprise}/org-properties/values List custom property values for organizations in an enterprise #
PATCH /enterprises/{enterprise}/org-properties/values Create or update custom property values for organizations in an enterprise #
GET /enterprises/{enterprise}/properties/schema Get custom properties for an enterprise #
PATCH /enterprises/{enterprise}/properties/schema Create or update custom properties for an enterprise #
PUT /enterprises/{enterprise}/properties/schema/organizations/{org}/{custom_property_name}/promote Promote a custom property to an enterprise #
GET /enterprises/{enterprise}/properties/schema/{custom_property_name} Get a custom property for an enterprise #
PUT /enterprises/{enterprise}/properties/schema/{custom_property_name} Create or update a custom property for an enterprise #
DELETE /enterprises/{enterprise}/properties/schema/{custom_property_name} Remove a custom property for an enterprise #
GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history Get enterprise ruleset history #
GET /enterprises/{enterprise}/rulesets/{ruleset_id}/history/{version_id} Get enterprise ruleset version #
GET /enterprises/{enterprise}/teams/{team_id}/copilot/model-policies Get model policies for an enterprise team #
PATCH /enterprises/{enterprise}/teams/{team_id}/copilot/model-policies Update model policies for an enterprise team #
GET /enterprises/{enterprise}/visual-studio-subscriptions Get a list of Visual Studio subscriptions for the enterprise #
PUT /enterprises/{enterprise}/visual-studio-subscriptions/{visual_studio_subscription_id} Add or update a Visual Studio subscription user match #
DELETE /enterprises/{enterprise}/visual-studio-subscriptions/{visual_studio_subscription_id} Delete a Visual Studio subscription user match #
POST /enterprises/{enterprise}/{security_product}/{enablement} Enable or disable a security feature #
GET /scim/v2/enterprises/{enterprise}/Groups List provisioned SCIM groups for an enterprise #
POST /scim/v2/enterprises/{enterprise}/Groups Provision a SCIM enterprise group #
GET /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id} Get SCIM provisioning information for an enterprise group #
PUT /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id} Set SCIM information for a provisioned enterprise group #
PATCH /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id} Update an attribute for a SCIM enterprise group #
DELETE /scim/v2/enterprises/{enterprise}/Groups/{scim_group_id} Delete a SCIM group from an enterprise #
GET /scim/v2/enterprises/{enterprise}/Users List SCIM provisioned identities for an enterprise #
POST /scim/v2/enterprises/{enterprise}/Users Provision a SCIM enterprise user #
GET /scim/v2/enterprises/{enterprise}/Users/{scim_user_id} Get SCIM provisioning information for an enterprise user #
PUT /scim/v2/enterprises/{enterprise}/Users/{scim_user_id} Set SCIM information for a provisioned enterprise user #
PATCH /scim/v2/enterprises/{enterprise}/Users/{scim_user_id} Update an attribute for a SCIM enterprise user #
DELETE /scim/v2/enterprises/{enterprise}/Users/{scim_user_id} Delete a SCIM user from an enterprise #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/github-enterprise:github-enterprise-enterprise-admin-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

github-enterprise-enterprise-admin-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.1.4
  title: GitHub v3 REST Enterprise Admin API
  description: GitHub's v3 REST API.
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
  termsOfService: https://docs.github.com/articles/github-terms-of-service
  contact:
    name: Support
    url: https://support.github.com/contact?tags=dotcom-rest-api
  x-github-plan: ghec
servers:
- url: https://api.github.com
tags:


# --- truncated at 32 KB (456 KB total) ---
# Full source: https://artifacts.apis.io/github-enterprise/openapi/github-enterprise-enterprise-admin-api-openapi.yml