GitHub · Capability

GitHub v3 REST API — Enterprise-Admin

GitHub v3 REST API — Enterprise-Admin. 121 operations. Lead operation: GitHub List Global Webhooks. Self-contained Naftiko capability covering one Github business surface.

Run with Naftiko GithubEnterprise-Admin

What You Can Do

GET
Enterpriseadminlistglobalwebhooks — GitHub List Global Webhooks
/v1/admin/hooks
POST
Enterpriseadmincreateglobalwebhook — GitHub Create a Global Webhook
/v1/admin/hooks
GET
Enterpriseadmingetglobalwebhook — GitHub Get a Global Webhook
/v1/admin/hooks/{hook-id}
PATCH
Enterpriseadminupdateglobalwebhook — GitHub Update a Global Webhook
/v1/admin/hooks/{hook-id}
DELETE
Enterpriseadmindeleteglobalwebhook — GitHub Delete a Global Webhook
/v1/admin/hooks/{hook-id}
POST
Enterpriseadminpingglobalwebhook — GitHub Ping a Global Webhook
/v1/admin/hooks/{hook-id}/pings
GET
Enterpriseadminlistpublickeys — GitHub List Public Keys
/v1/admin/keys
DELETE
Enterpriseadmindeletepublickey — GitHub Delete a Public Key
/v1/admin/keys/{key-ids}
PATCH
Enterpriseadminupdateldapmappingforteam — GitHub Update LDAP Mapping for a Team
/v1/admin/ldap/teams/{team-id}/mapping
POST
Enterpriseadminsyncldapmappingforteam — GitHub Sync LDAP Mapping for a Team
/v1/admin/ldap/teams/{team-id}/sync
PATCH
Enterpriseadminupdateldapmappingforuser — GitHub Update LDAP Mapping for a User
/v1/admin/ldap/users/{username}/mapping
POST
Enterpriseadminsyncldapmappingforuser — GitHub Sync LDAP Mapping for a User
/v1/admin/ldap/users/{username}/sync
POST
Enterpriseadmincreateorg — GitHub Create an Organization
/v1/admin/organizations
PATCH
Enterpriseadminupdateorgname — GitHub Update an Organization Name
/v1/admin/organizations/{org}
GET
Enterpriseadminlistprereceiveenvironments — GitHub List Pre-receive Environments
/v1/admin/pre-receive-environments
POST
Enterpriseadmincreateprereceiveenvironment — GitHub Create a Pre-receive Environment
/v1/admin/pre-receive-environments
GET
Enterpriseadmingetprereceiveenvironment — GitHub Get a Pre-receive Environment
/v1/admin/pre-receive-environments/{pre-receive-environment-id}
PATCH
Enterpriseadminupdateprereceiveenvironment — GitHub Update a Pre-receive Environment
/v1/admin/pre-receive-environments/{pre-receive-environment-id}
DELETE
Enterpriseadmindeleteprereceiveenvironment — GitHub Delete a Pre-receive Environment
/v1/admin/pre-receive-environments/{pre-receive-environment-id}
POST
Enterpriseadminstartprereceiveenvironmentdownload — GitHub Start a Pre-receive Environment Download
/v1/admin/pre-receive-environments/{pre-receive-environment-id}/downloads
GET
Enterpriseadmingetdownloadstatusforprereceiveenvironment — GitHub Get the Download Status for a Pre-receive Environment
/v1/admin/pre-receive-environments/{pre-receive-environment-id}/downloads/latest
GET
Enterpriseadminlistprereceivehooks — GitHub List Pre-receive Hooks
/v1/admin/pre-receive-hooks
POST
Enterpriseadmincreateprereceivehook — GitHub Create a Pre-receive Hook
/v1/admin/pre-receive-hooks
GET
Enterpriseadmingetprereceivehook — GitHub Get a Pre-receive Hook
/v1/admin/pre-receive-hooks/{pre-receive-hook-id}
PATCH
Enterpriseadminupdateprereceivehook — GitHub Update a Pre-receive Hook
/v1/admin/pre-receive-hooks/{pre-receive-hook-id}
DELETE
Enterpriseadmindeleteprereceivehook — GitHub Delete a Pre-receive Hook
/v1/admin/pre-receive-hooks/{pre-receive-hook-id}
GET
Enterpriseadminlistpersonalaccesstokens — GitHub List Personal Access Tokens
/v1/admin/tokens
DELETE
Enterpriseadmindeletepersonalaccesstoken — GitHub Delete a Personal Access Token
/v1/admin/tokens/{token-id}
POST
Enterpriseadmincreateuser — GitHub Create a User
/v1/admin/users
PATCH
Enterpriseadminupdateusernameforuser — GitHub Update the Username for a User
/v1/admin/users/{username}
DELETE
Enterpriseadmindeleteuser — GitHub Delete a User
/v1/admin/users/{username}
POST
Enterpriseadmincreateimpersonationoauthtoken — GitHub Create an Impersonation OAuth Token
/v1/admin/users/{username}/authorizations
DELETE
Enterpriseadmindeleteimpersonationoauthtoken — GitHub Delete an Impersonation OAuth Token
/v1/admin/users/{username}/authorizations
GET
Enterpriseadmingetannouncement — GitHub Get the Global Announcement Banner
/v1/enterprise/announcement
PATCH
Enterpriseadminsetannouncement — GitHub Set the Global Announcement Banner
/v1/enterprise/announcement
DELETE
Enterpriseadminremoveannouncement — GitHub Remove the Global Announcement Banner
/v1/enterprise/announcement
GET
Enterpriseadmingetlicenseinformation — GitHub Get License Information
/v1/enterprise/settings/license
GET
Enterpriseadmingetallstats — GitHub Get All Statistics
/v1/enterprise/stats/all
GET
Enterpriseadmingetcommentstats — GitHub Get Comment Statistics
/v1/enterprise/stats/comments
GET
Enterpriseadmingetgiststats — GitHub Get Gist Statistics
/v1/enterprise/stats/gists
GET
Enterpriseadmingethooksstats — GitHub Get Hooks Statistics
/v1/enterprise/stats/hooks
GET
Enterpriseadmingetissuestats — GitHub Get Issue Statistics
/v1/enterprise/stats/issues
GET
Enterpriseadmingetmilestonestats — GitHub Get Milestone Statistics
/v1/enterprise/stats/milestones
GET
Enterpriseadmingetorgstats — GitHub Get Organization Statistics
/v1/enterprise/stats/orgs
GET
Enterpriseadmingetpagesstats — GitHub Get Pages Statistics
/v1/enterprise/stats/pages
GET
Enterpriseadmingetpullrequeststats — GitHub Get Pull Request Statistics
/v1/enterprise/stats/pulls
GET
Enterpriseadmingetrepostats — GitHub Get Repository Statistics
/v1/enterprise/stats/repos
GET
Enterpriseadmingetuserstats — GitHub Get Users Statistics
/v1/enterprise/stats/users
GET
Enterpriseadmingetgithubactionspermissionsenterprise — GitHub Get GitHub Actions Permissions for an Enterprise
/v1/enterprises/{enterprise}/actions/permissions
PUT
Enterpriseadminsetgithubactionspermissionsenterprise — GitHub Set GitHub Actions Permissions for an Enterprise
/v1/enterprises/{enterprise}/actions/permissions
GET
Enterpriseadminlistselectedorganizationsenabledgithubactionsenterprise — GitHub List Selected Organizations Enabled for GitHub Actions in an Enterprise
/v1/enterprises/{enterprise}/actions/permissions/organizations
PUT
Enterpriseadminsetselectedorganizationsenabledgithubactionsenterprise — GitHub Set Selected Organizations Enabled for GitHub Actions in an Enterprise
/v1/enterprises/{enterprise}/actions/permissions/organizations
PUT
Enterpriseadminenableselectedorganizationgithubactionsenterprise — GitHub Enable a Selected Organization for GitHub Actions in an Enterprise
/v1/enterprises/{enterprise}/actions/permissions/organizations/{org-id}
DELETE
Enterpriseadmindisableselectedorganizationgithubactionsenterprise — GitHub Disable a Selected Organization for GitHub Actions in an Enterprise
/v1/enterprises/{enterprise}/actions/permissions/organizations/{org-id}
GET
Enterpriseadmingetallowedactionsenterprise — GitHub Get Allowed Actions for an Enterprise
/v1/enterprises/{enterprise}/actions/permissions/selected-actions
PUT
Enterpriseadminsetallowedactionsenterprise — GitHub Set Allowed Actions for an Enterprise
/v1/enterprises/{enterprise}/actions/permissions/selected-actions
GET
Enterpriseadminlistselfhostedrunnergroupsforenterprise — GitHub List Self-hosted Runner Groups for an Enterprise
/v1/enterprises/{enterprise}/actions/runner-groups
POST
Enterpriseadmincreateselfhostedrunnergroupforenterprise — GitHub Create a Self-hosted Runner Group for an Enterprise
/v1/enterprises/{enterprise}/actions/runner-groups
GET
Enterpriseadmingetselfhostedrunnergroupforenterprise — GitHub Get a Self-hosted Runner Group for an Enterprise
/v1/enterprises/{enterprise}/actions/runner-groups/{runner-group-id}
PATCH
Enterpriseadminupdateselfhostedrunnergroupforenterprise — GitHub Update a Self-hosted Runner Group for an Enterprise
/v1/enterprises/{enterprise}/actions/runner-groups/{runner-group-id}
DELETE
Enterpriseadmindeleteselfhostedrunnergroupfromenterprise — GitHub Delete a Self-hosted Runner Group from an Enterprise
/v1/enterprises/{enterprise}/actions/runner-groups/{runner-group-id}
GET
Enterpriseadminlistorgaccesstoselfhostedrunnergroupinenterprise — GitHub List Organization Access to a Self-hosted Runner Group in an Enterprise
/v1/enterprises/{enterprise}/actions/runner-groups/{runner-group-id}/organizations
PUT
Enterpriseadminsetorgaccesstoselfhostedrunnergroupinenterprise — GitHub Set Organization Access for a Self-hosted Runner Group in an Enterprise
/v1/enterprises/{enterprise}/actions/runner-groups/{runner-group-id}/organizations
PUT
Enterpriseadminaddorgaccesstoselfhostedrunnergroupinenterprise — GitHub Add Organization Access to a Self-hosted Runner Group in an Enterprise
/v1/enterprises/{enterprise}/actions/runner-groups/{runner-group-id}/organizations/{org-id}
DELETE
Enterpriseadminremoveorgaccesstoselfhostedrunnergroupinenterprise — GitHub Remove Organization Access to a Self-hosted Runner Group in an Enterprise
/v1/enterprises/{enterprise}/actions/runner-groups/{runner-group-id}/organizations/{org-id}
GET
Enterpriseadminlistselfhostedrunnersingroupforenterprise — GitHub List Self-hosted Runners in a Group for an Enterprise
/v1/enterprises/{enterprise}/actions/runner-groups/{runner-group-id}/runners
PUT
Enterpriseadminsetselfhostedrunnersingroupforenterprise — GitHub Set Self-hosted Runners in a Group for an Enterprise
/v1/enterprises/{enterprise}/actions/runner-groups/{runner-group-id}/runners
PUT
Enterpriseadminaddselfhostedrunnertogroupforenterprise — GitHub Add a Self-hosted Runner to a Group for an Enterprise
/v1/enterprises/{enterprise}/actions/runner-groups/{runner-group-id}/runners/{runner-id}
DELETE
Enterpriseadminremoveselfhostedrunnerfromgroupforenterprise — GitHub Remove a Self-hosted Runner from a Group for an Enterprise
/v1/enterprises/{enterprise}/actions/runner-groups/{runner-group-id}/runners/{runner-id}
GET
Enterpriseadminlistselfhostedrunnersforenterprise — GitHub List Self-hosted Runners for an Enterprise
/v1/enterprises/{enterprise}/actions/runners
GET
Enterpriseadminlistrunnerapplicationsforenterprise — GitHub List Runner Applications for an Enterprise
/v1/enterprises/{enterprise}/actions/runners/downloads
POST
Enterpriseadmincreateregistrationtokenforenterprise — GitHub Create a Registration Token for an Enterprise
/v1/enterprises/{enterprise}/actions/runners/registration-token
POST
Enterpriseadmincreateremovetokenforenterprise — GitHub Create a Remove Token for an Enterprise
/v1/enterprises/{enterprise}/actions/runners/remove-token
GET
Enterpriseadmingetselfhostedrunnerforenterprise — GitHub Get a Self-hosted Runner for an Enterprise
/v1/enterprises/{enterprise}/actions/runners/{runner-id}
DELETE
Enterpriseadmindeleteselfhostedrunnerfromenterprise — GitHub Delete a Self-hosted Runner from an Enterprise
/v1/enterprises/{enterprise}/actions/runners/{runner-id}
GET
Enterpriseadminlistlabelsforselfhostedrunnerforenterprise — GitHub List Labels for a Self-hosted Runner for an Enterprise
/v1/enterprises/{enterprise}/actions/runners/{runner-id}/labels
POST
Enterpriseadminaddcustomlabelstoselfhostedrunnerforenterprise — GitHub Add Custom Labels to a Self-hosted Runner for an Enterprise
/v1/enterprises/{enterprise}/actions/runners/{runner-id}/labels
PUT
Enterpriseadminsetcustomlabelsforselfhostedrunnerforenterprise — GitHub Set Custom Labels for a Self-hosted Runner for an Enterprise
/v1/enterprises/{enterprise}/actions/runners/{runner-id}/labels
DELETE
Enterpriseadminremoveallcustomlabelsfromselfhostedrunnerforenterprise — GitHub Remove All Custom Labels from a Self-hosted Runner for an Enterprise
/v1/enterprises/{enterprise}/actions/runners/{runner-id}/labels
DELETE
Enterpriseadminremovecustomlabelfromselfhostedrunnerforenterprise — GitHub Remove a Custom Label from a Self-hosted Runner for an Enterprise
/v1/enterprises/{enterprise}/actions/runners/{runner-id}/labels/{name}
GET
Enterpriseadmingetauditlog — GitHub Get the Audit Log for an Enterprise
/v1/enterprises/{enterprise}/audit-log
GET
Secretscanninggetsecurityanalysissettingsforenterprise — GitHub Get Code Security and Analysis Features for an Enterprise
/v1/enterprises/{enterprise}/code-security-and-analysis
PATCH
Secretscanningpatchsecurityanalysissettingsforenterprise — GitHub Update Code Security and Analysis Features for an Enterprise
/v1/enterprises/{enterprise}/code-security-and-analysis
POST
Secretscanningpostsecurityproductenablementforenterprise — GitHub Enable or Disable a Security Feature
/v1/enterprises/{enterprise}/{security-product}/{enablement}
GET
Enterpriseadmingetconfignodes — GitHub Get GHES Node Metadata for All Nodes
/v1/manage/v1/config/nodes
GET
Enterpriseadmingetreplicationstatus — GitHub Get the Status of Services Running on All Replica Nodes
/v1/manage/v1/replication/status
GET
Enterpriseadmingetversion — GitHub Get All GHES Release Versions for All Nodes
/v1/manage/v1/version
GET
Enterpriseadminlistprereceivehooksfororg — GitHub List Pre-receive Hooks for an Organization
/v1/orgs/{org}/pre-receive-hooks
GET
Enterpriseadmingetprereceivehookfororg — GitHub Get a Pre-receive Hook for an Organization
/v1/orgs/{org}/pre-receive-hooks/{pre-receive-hook-id}
PATCH
Enterpriseadminupdateprereceivehookenforcementfororg — GitHub Update Pre-receive Hook Enforcement for an Organization
/v1/orgs/{org}/pre-receive-hooks/{pre-receive-hook-id}
DELETE
Enterpriseadminremoveprereceivehookenforcementfororg — GitHub Remove Pre-receive Hook Enforcement for an Organization
/v1/orgs/{org}/pre-receive-hooks/{pre-receive-hook-id}
GET
Enterpriseadminlistprereceivehooksforrepo — GitHub List Pre-receive Hooks for a Repository
/v1/repos/{owner}/{repo}/pre-receive-hooks
GET
Enterpriseadmingetprereceivehookforrepo — GitHub Get a Pre-receive Hook for a Repository
/v1/repos/{owner}/{repo}/pre-receive-hooks/{pre-receive-hook-id}
PATCH
Enterpriseadminupdateprereceivehookenforcementforrepo — GitHub Update Pre-receive Hook Enforcement for a Repository
/v1/repos/{owner}/{repo}/pre-receive-hooks/{pre-receive-hook-id}
DELETE
Enterpriseadminremoveprereceivehookenforcementforrepo — GitHub Remove Pre-receive Hook Enforcement for a Repository
/v1/repos/{owner}/{repo}/pre-receive-hooks/{pre-receive-hook-id}
POST
Enterpriseadminprovisionenterprisegroup — GitHub Provision a SCIM Enterprise Group
/v1/scim/v2/groups
GET
Enterpriseadmingetprovisioninginformationforenterprisegroup — GitHub Get SCIM Provisioning Information for an Enterprise Group
/v1/scim/v2/groups/{scim-group-id}
PUT
Enterpriseadminsetinformationforprovisionedenterprisegroup — GitHub Set SCIM Information for a Provisioned Enterprise Group
/v1/scim/v2/groups/{scim-group-id}
PATCH
Enterpriseadminupdateattributeforenterprisegroup — GitHub Update an Attribute for a SCIM Enterprise Group
/v1/scim/v2/groups/{scim-group-id}
DELETE
Enterpriseadmindeletescimgroupfromenterprise — GitHub Delete a SCIM Group from an Enterprise
/v1/scim/v2/groups/{scim-group-id}
GET
Enterpriseadminlistprovisionedidentitiesenterprise — GitHub List SCIM Provisioned Identities for an Enterprise
/v1/scim/v2/users
POST
Enterpriseadminprovisionenterpriseuser — GitHub Provision a SCIM Enterprise User
/v1/scim/v2/users
GET
Enterpriseadmingetprovisioninginformationforenterpriseuser — GitHub Get SCIM Provisioning Information for an Enterprise User
/v1/scim/v2/users/{scim-user-id}
PUT
Enterpriseadminsetinformationforprovisionedenterpriseuser — GitHub Set SCIM Information for a Provisioned Enterprise User
/v1/scim/v2/users/{scim-user-id}
PATCH
Enterpriseadminupdateattributeforenterpriseuser — GitHub Update an Attribute for a SCIM Enterprise User
/v1/scim/v2/users/{scim-user-id}
DELETE
Enterpriseadmindeleteuserfromenterprise — GitHub Delete a SCIM User from an Enterprise
/v1/scim/v2/users/{scim-user-id}
GET
Enterpriseadmingetconfigurationstatus — GitHub Get the Configuration Status
/v1/setup/api/configcheck
POST
Enterpriseadminstartconfigurationprocess — GitHub Start a Configuration Process
/v1/setup/api/configure
GET
Enterpriseadmingetmaintenancestatus — GitHub Get the Maintenance Status
/v1/setup/api/maintenance
POST
Enterpriseadminenableordisablemaintenancemode — GitHub Enable or Disable Maintenance Mode
/v1/setup/api/maintenance
GET
Enterpriseadmingetsettings — GitHub Get Settings
/v1/setup/api/settings
PUT
Enterpriseadminsetsettings — GitHub Set Settings
/v1/setup/api/settings
GET
Enterpriseadmingetallauthorizedsshkeys — GitHub Get All Authorized SSH Keys
/v1/setup/api/settings/authorized-keys
POST
Enterpriseadminaddauthorizedsshkey — GitHub Add an Authorized SSH Key
/v1/setup/api/settings/authorized-keys
DELETE
Enterpriseadminremoveauthorizedsshkey — GitHub Remove an Authorized SSH Key
/v1/setup/api/settings/authorized-keys
POST
Enterpriseadmincreateenterpriseserverlicense — GitHub Create a GitHub License
/v1/setup/api/start
POST
Enterpriseadminupgradelicense — GitHub Upgrade a License
/v1/setup/api/upgrade
PUT
Enterpriseadminpromoteusertobesiteadministrator — GitHub Promote a User to Be a Site Administrator
/v1/users/{username}/site-admin
DELETE
Enterpriseadmindemotesiteadministrator — GitHub Demote a Site Administrator
/v1/users/{username}/site-admin
PUT
Enterpriseadminsuspenduser — GitHub Suspend a User
/v1/users/{username}/suspended
DELETE
Enterpriseadminunsuspenduser — GitHub Unsuspend a User
/v1/users/{username}/suspended

MCP Tools

github-list-global-webhooks

GitHub List Global Webhooks

read-only idempotent
github-create-global-webhook

GitHub Create a Global Webhook

github-get-global-webhook

GitHub Get a Global Webhook

read-only idempotent
github-update-global-webhook

GitHub Update a Global Webhook

idempotent
github-delete-global-webhook

GitHub Delete a Global Webhook

idempotent
github-ping-global-webhook

GitHub Ping a Global Webhook

github-list-public-keys

GitHub List Public Keys

read-only idempotent
github-delete-public-key

GitHub Delete a Public Key

idempotent
github-update-ldap-mapping-team

GitHub Update LDAP Mapping for a Team

idempotent
github-sync-ldap-mapping-team

GitHub Sync LDAP Mapping for a Team

github-update-ldap-mapping-user

GitHub Update LDAP Mapping for a User

idempotent
github-sync-ldap-mapping-user

GitHub Sync LDAP Mapping for a User

github-create-organization

GitHub Create an Organization

github-update-organization-name

GitHub Update an Organization Name

idempotent
github-list-pre-receive-environments

GitHub List Pre-receive Environments

read-only idempotent
github-create-pre-receive-environment

GitHub Create a Pre-receive Environment

github-get-pre-receive-environment

GitHub Get a Pre-receive Environment

read-only idempotent
github-update-pre-receive-environment

GitHub Update a Pre-receive Environment

idempotent
github-delete-pre-receive-environment

GitHub Delete a Pre-receive Environment

idempotent
github-start-pre-receive-environment

GitHub Start a Pre-receive Environment Download

github-get-download-status-pre

GitHub Get the Download Status for a Pre-receive Environment

read-only idempotent
github-list-pre-receive-hooks

GitHub List Pre-receive Hooks

read-only idempotent
github-create-pre-receive-hook

GitHub Create a Pre-receive Hook

github-get-pre-receive-hook

GitHub Get a Pre-receive Hook

read-only idempotent
github-update-pre-receive-hook

GitHub Update a Pre-receive Hook

idempotent
github-delete-pre-receive-hook

GitHub Delete a Pre-receive Hook

idempotent
github-list-personal-access-tokens

GitHub List Personal Access Tokens

read-only idempotent
github-delete-personal-access-token

GitHub Delete a Personal Access Token

idempotent
github-create-user

GitHub Create a User

github-update-username-user

GitHub Update the Username for a User

idempotent
github-delete-user

GitHub Delete a User

idempotent
github-create-impersonation-oauth-token

GitHub Create an Impersonation OAuth Token

github-delete-impersonation-oauth-token

GitHub Delete an Impersonation OAuth Token

idempotent
github-get-global-announcement-banner

GitHub Get the Global Announcement Banner

read-only idempotent
github-set-global-announcement-banner

GitHub Set the Global Announcement Banner

idempotent
github-remove-global-announcement-banner

GitHub Remove the Global Announcement Banner

idempotent
github-get-license-information

GitHub Get License Information

read-only idempotent
github-get-all-statistics

GitHub Get All Statistics

read-only idempotent
github-get-comment-statistics

GitHub Get Comment Statistics

read-only idempotent
github-get-gist-statistics

GitHub Get Gist Statistics

read-only idempotent
github-get-hooks-statistics

GitHub Get Hooks Statistics

read-only idempotent
github-get-issue-statistics

GitHub Get Issue Statistics

read-only idempotent
github-get-milestone-statistics

GitHub Get Milestone Statistics

read-only idempotent
github-get-organization-statistics

GitHub Get Organization Statistics

read-only idempotent
github-get-pages-statistics

GitHub Get Pages Statistics

read-only idempotent
github-get-pull-request-statistics

GitHub Get Pull Request Statistics

read-only idempotent
github-get-repository-statistics

GitHub Get Repository Statistics

read-only idempotent
github-get-users-statistics

GitHub Get Users Statistics

read-only idempotent
github-get-github-actions-permissions

GitHub Get GitHub Actions Permissions for an Enterprise

read-only idempotent
github-set-github-actions-permissions

GitHub Set GitHub Actions Permissions for an Enterprise

idempotent
github-list-selected-organizations-enabled

GitHub List Selected Organizations Enabled for GitHub Actions in an Enterprise

read-only idempotent
github-set-selected-organizations-enabled

GitHub Set Selected Organizations Enabled for GitHub Actions in an Enterprise

idempotent
github-enable-selected-organization-github

GitHub Enable a Selected Organization for GitHub Actions in an Enterprise

idempotent
github-disable-selected-organization-github

GitHub Disable a Selected Organization for GitHub Actions in an Enterprise

idempotent
github-get-allowed-actions-enterprise

GitHub Get Allowed Actions for an Enterprise

read-only idempotent
github-set-allowed-actions-enterprise

GitHub Set Allowed Actions for an Enterprise

idempotent
github-list-self-hosted-runner

GitHub List Self-hosted Runner Groups for an Enterprise

read-only idempotent
github-create-self-hosted-runner

GitHub Create a Self-hosted Runner Group for an Enterprise

github-get-self-hosted-runner

GitHub Get a Self-hosted Runner Group for an Enterprise

read-only idempotent
github-update-self-hosted-runner

GitHub Update a Self-hosted Runner Group for an Enterprise

idempotent
github-delete-self-hosted-runner

GitHub Delete a Self-hosted Runner Group from an Enterprise

idempotent
github-list-organization-access-self

GitHub List Organization Access to a Self-hosted Runner Group in an Enterprise

read-only idempotent
github-set-organization-access-self

GitHub Set Organization Access for a Self-hosted Runner Group in an Enterprise

idempotent
github-add-organization-access-self

GitHub Add Organization Access to a Self-hosted Runner Group in an Enterprise

idempotent
github-remove-organization-access-self

GitHub Remove Organization Access to a Self-hosted Runner Group in an Enterprise

idempotent
github-list-self-hosted-runners

GitHub List Self-hosted Runners in a Group for an Enterprise

read-only idempotent
github-set-self-hosted-runners

GitHub Set Self-hosted Runners in a Group for an Enterprise

idempotent
github-add-self-hosted-runner

GitHub Add a Self-hosted Runner to a Group for an Enterprise

idempotent
github-remove-self-hosted-runner

GitHub Remove a Self-hosted Runner from a Group for an Enterprise

idempotent
github-list-self-hosted-runners-2

GitHub List Self-hosted Runners for an Enterprise

read-only idempotent
github-list-runner-applications-enterprise

GitHub List Runner Applications for an Enterprise

read-only idempotent
github-create-registration-token-enterprise

GitHub Create a Registration Token for an Enterprise

github-create-remove-token-enterprise

GitHub Create a Remove Token for an Enterprise

github-get-self-hosted-runner-2

GitHub Get a Self-hosted Runner for an Enterprise

read-only idempotent
github-delete-self-hosted-runner-2

GitHub Delete a Self-hosted Runner from an Enterprise

idempotent
github-list-labels-self-hosted

GitHub List Labels for a Self-hosted Runner for an Enterprise

read-only idempotent
github-add-custom-labels-self

GitHub Add Custom Labels to a Self-hosted Runner for an Enterprise

github-set-custom-labels-self

GitHub Set Custom Labels for a Self-hosted Runner for an Enterprise

idempotent
github-remove-all-custom-labels

GitHub Remove All Custom Labels from a Self-hosted Runner for an Enterprise

idempotent
github-remove-custom-label-self

GitHub Remove a Custom Label from a Self-hosted Runner for an Enterprise

idempotent
github-get-audit-log-enterprise

GitHub Get the Audit Log for an Enterprise

read-only idempotent
github-get-code-security-and

GitHub Get Code Security and Analysis Features for an Enterprise

read-only idempotent
github-update-code-security-and

GitHub Update Code Security and Analysis Features for an Enterprise

idempotent
github-enable-disable-security-feature

GitHub Enable or Disable a Security Feature

github-get-ghes-node-metadata

GitHub Get GHES Node Metadata for All Nodes

read-only idempotent
github-get-status-services-running

GitHub Get the Status of Services Running on All Replica Nodes

read-only idempotent
github-get-all-ghes-release

GitHub Get All GHES Release Versions for All Nodes

read-only idempotent
github-list-pre-receive-hooks-2

GitHub List Pre-receive Hooks for an Organization

read-only idempotent
github-get-pre-receive-hook-2

GitHub Get a Pre-receive Hook for an Organization

read-only idempotent
github-update-pre-receive-hook-2

GitHub Update Pre-receive Hook Enforcement for an Organization

idempotent
github-remove-pre-receive-hook

GitHub Remove Pre-receive Hook Enforcement for an Organization

idempotent
github-list-pre-receive-hooks-3

GitHub List Pre-receive Hooks for a Repository

read-only idempotent
github-get-pre-receive-hook-3

GitHub Get a Pre-receive Hook for a Repository

read-only idempotent
github-update-pre-receive-hook-3

GitHub Update Pre-receive Hook Enforcement for a Repository

idempotent
github-remove-pre-receive-hook-2

GitHub Remove Pre-receive Hook Enforcement for a Repository

idempotent
github-provision-scim-enterprise-group

GitHub Provision a SCIM Enterprise Group

github-get-scim-provisioning-information

GitHub Get SCIM Provisioning Information for an Enterprise Group

read-only idempotent
github-set-scim-information-provisioned

GitHub Set SCIM Information for a Provisioned Enterprise Group

idempotent
github-update-attribute-scim-enterprise

GitHub Update an Attribute for a SCIM Enterprise Group

idempotent
github-delete-scim-group-enterprise

GitHub Delete a SCIM Group from an Enterprise

idempotent
github-list-scim-provisioned-identities

GitHub List SCIM Provisioned Identities for an Enterprise

read-only idempotent
github-provision-scim-enterprise-user

GitHub Provision a SCIM Enterprise User

github-get-scim-provisioning-information-2

GitHub Get SCIM Provisioning Information for an Enterprise User

read-only idempotent
github-set-scim-information-provisioned-2

GitHub Set SCIM Information for a Provisioned Enterprise User

idempotent
github-update-attribute-scim-enterprise-2

GitHub Update an Attribute for a SCIM Enterprise User

idempotent
github-delete-scim-user-enterprise

GitHub Delete a SCIM User from an Enterprise

idempotent
github-get-configuration-status

GitHub Get the Configuration Status

read-only idempotent
github-start-configuration-process

GitHub Start a Configuration Process

github-get-maintenance-status

GitHub Get the Maintenance Status

read-only idempotent
github-enable-disable-maintenance-mode

GitHub Enable or Disable Maintenance Mode

github-get-settings

GitHub Get Settings

read-only idempotent
github-set-settings

GitHub Set Settings

idempotent
github-get-all-authorized-ssh

GitHub Get All Authorized SSH Keys

read-only idempotent
github-add-authorized-ssh-key

GitHub Add an Authorized SSH Key

github-remove-authorized-ssh-key

GitHub Remove an Authorized SSH Key

idempotent
github-create-github-license

GitHub Create a GitHub License

github-upgrade-license

GitHub Upgrade a License

github-promote-user-be-site

GitHub Promote a User to Be a Site Administrator

idempotent
github-demote-site-administrator

GitHub Demote a Site Administrator

idempotent
github-suspend-user

GitHub Suspend a User

idempotent
github-unsuspend-user

GitHub Unsuspend a User

idempotent

Capability Spec

github-enterprise-admin.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: GitHub v3 REST API — Enterprise-Admin
  description: 'GitHub v3 REST API — Enterprise-Admin. 121 operations. Lead operation: GitHub List Global Webhooks. Self-contained
    Naftiko capability covering one Github business surface.'
  tags:
  - Github
  - Enterprise-Admin
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    GITHUB_API_KEY: GITHUB_API_KEY
capability:
  consumes:
  - type: http
    namespace: github-enterprise-admin
    baseUri: ''
    description: GitHub v3 REST API — Enterprise-Admin business capability. Self-contained, no shared references.
    resources:
    - name: admin-hooks
      path: /admin/hooks
      operations:
      - name: enterpriseadminlistglobalwebhooks
        method: GET
        description: GitHub List Global Webhooks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadmincreateglobalwebhook
        method: POST
        description: GitHub Create a Global Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: admin-hooks-hook_id
      path: /admin/hooks/{hook_id}
      operations:
      - name: enterpriseadmingetglobalwebhook
        method: GET
        description: GitHub Get a Global Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadminupdateglobalwebhook
        method: PATCH
        description: GitHub Update a Global Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: enterpriseadmindeleteglobalwebhook
        method: DELETE
        description: GitHub Delete a Global Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: admin-hooks-hook_id-pings
      path: /admin/hooks/{hook_id}/pings
      operations:
      - name: enterpriseadminpingglobalwebhook
        method: POST
        description: GitHub Ping a Global Webhook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: admin-keys
      path: /admin/keys
      operations:
      - name: enterpriseadminlistpublickeys
        method: GET
        description: GitHub List Public Keys
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sort
          in: query
          type: string
        - name: since
          in: query
          type: string
          description: Only show public keys accessed after the given time.
    - name: admin-keys-key_ids
      path: /admin/keys/{key_ids}
      operations:
      - name: enterpriseadmindeletepublickey
        method: DELETE
        description: GitHub Delete a Public Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: admin-ldap-teams-team_id-mapping
      path: /admin/ldap/teams/{team_id}/mapping
      operations:
      - name: enterpriseadminupdateldapmappingforteam
        method: PATCH
        description: GitHub Update LDAP Mapping for a Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: admin-ldap-teams-team_id-sync
      path: /admin/ldap/teams/{team_id}/sync
      operations:
      - name: enterpriseadminsyncldapmappingforteam
        method: POST
        description: GitHub Sync LDAP Mapping for a Team
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: admin-ldap-users-username-mapping
      path: /admin/ldap/users/{username}/mapping
      operations:
      - name: enterpriseadminupdateldapmappingforuser
        method: PATCH
        description: GitHub Update LDAP Mapping for a User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: admin-ldap-users-username-sync
      path: /admin/ldap/users/{username}/sync
      operations:
      - name: enterpriseadminsyncldapmappingforuser
        method: POST
        description: GitHub Sync LDAP Mapping for a User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: admin-organizations
      path: /admin/organizations
      operations:
      - name: enterpriseadmincreateorg
        method: POST
        description: GitHub Create an Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: admin-organizations-org
      path: /admin/organizations/{org}
      operations:
      - name: enterpriseadminupdateorgname
        method: PATCH
        description: GitHub Update an Organization Name
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: admin-pre-receive-environments
      path: /admin/pre-receive-environments
      operations:
      - name: enterpriseadminlistprereceiveenvironments
        method: GET
        description: GitHub List Pre-receive Environments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sort
          in: query
          type: string
      - name: enterpriseadmincreateprereceiveenvironment
        method: POST
        description: GitHub Create a Pre-receive Environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: admin-pre-receive-environments-pre_receive_environment_id
      path: /admin/pre-receive-environments/{pre_receive_environment_id}
      operations:
      - name: enterpriseadmingetprereceiveenvironment
        method: GET
        description: GitHub Get a Pre-receive Environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadminupdateprereceiveenvironment
        method: PATCH
        description: GitHub Update a Pre-receive Environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: enterpriseadmindeleteprereceiveenvironment
        method: DELETE
        description: GitHub Delete a Pre-receive Environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: admin-pre-receive-environments-pre_receive_environment_id-downloads
      path: /admin/pre-receive-environments/{pre_receive_environment_id}/downloads
      operations:
      - name: enterpriseadminstartprereceiveenvironmentdownload
        method: POST
        description: GitHub Start a Pre-receive Environment Download
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: admin-pre-receive-environments-pre_receive_environment_id-downloads-latest
      path: /admin/pre-receive-environments/{pre_receive_environment_id}/downloads/latest
      operations:
      - name: enterpriseadmingetdownloadstatusforprereceiveenvironment
        method: GET
        description: GitHub Get the Download Status for a Pre-receive Environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: admin-pre-receive-hooks
      path: /admin/pre-receive-hooks
      operations:
      - name: enterpriseadminlistprereceivehooks
        method: GET
        description: GitHub List Pre-receive Hooks
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: sort
          in: query
          type: string
          description: The property to sort the results by.
      - name: enterpriseadmincreateprereceivehook
        method: POST
        description: GitHub Create a Pre-receive Hook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: admin-pre-receive-hooks-pre_receive_hook_id
      path: /admin/pre-receive-hooks/{pre_receive_hook_id}
      operations:
      - name: enterpriseadmingetprereceivehook
        method: GET
        description: GitHub Get a Pre-receive Hook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadminupdateprereceivehook
        method: PATCH
        description: GitHub Update a Pre-receive Hook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: enterpriseadmindeleteprereceivehook
        method: DELETE
        description: GitHub Delete a Pre-receive Hook
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: admin-tokens
      path: /admin/tokens
      operations:
      - name: enterpriseadminlistpersonalaccesstokens
        method: GET
        description: GitHub List Personal Access Tokens
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: admin-tokens-token_id
      path: /admin/tokens/{token_id}
      operations:
      - name: enterpriseadmindeletepersonalaccesstoken
        method: DELETE
        description: GitHub Delete a Personal Access Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: admin-users
      path: /admin/users
      operations:
      - name: enterpriseadmincreateuser
        method: POST
        description: GitHub Create a User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: admin-users-username
      path: /admin/users/{username}
      operations:
      - name: enterpriseadminupdateusernameforuser
        method: PATCH
        description: GitHub Update the Username for a User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: enterpriseadmindeleteuser
        method: DELETE
        description: GitHub Delete a User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: admin-users-username-authorizations
      path: /admin/users/{username}/authorizations
      operations:
      - name: enterpriseadmincreateimpersonationoauthtoken
        method: POST
        description: GitHub Create an Impersonation OAuth Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: enterpriseadmindeleteimpersonationoauthtoken
        method: DELETE
        description: GitHub Delete an Impersonation OAuth Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprise-announcement
      path: /enterprise/announcement
      operations:
      - name: enterpriseadmingetannouncement
        method: GET
        description: GitHub Get the Global Announcement Banner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadminsetannouncement
        method: PATCH
        description: GitHub Set the Global Announcement Banner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: enterpriseadminremoveannouncement
        method: DELETE
        description: GitHub Remove the Global Announcement Banner
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprise-settings-license
      path: /enterprise/settings/license
      operations:
      - name: enterpriseadmingetlicenseinformation
        method: GET
        description: GitHub Get License Information
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprise-stats-all
      path: /enterprise/stats/all
      operations:
      - name: enterpriseadmingetallstats
        method: GET
        description: GitHub Get All Statistics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprise-stats-comments
      path: /enterprise/stats/comments
      operations:
      - name: enterpriseadmingetcommentstats
        method: GET
        description: GitHub Get Comment Statistics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprise-stats-gists
      path: /enterprise/stats/gists
      operations:
      - name: enterpriseadmingetgiststats
        method: GET
        description: GitHub Get Gist Statistics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprise-stats-hooks
      path: /enterprise/stats/hooks
      operations:
      - name: enterpriseadmingethooksstats
        method: GET
        description: GitHub Get Hooks Statistics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprise-stats-issues
      path: /enterprise/stats/issues
      operations:
      - name: enterpriseadmingetissuestats
        method: GET
        description: GitHub Get Issue Statistics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprise-stats-milestones
      path: /enterprise/stats/milestones
      operations:
      - name: enterpriseadmingetmilestonestats
        method: GET
        description: GitHub Get Milestone Statistics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprise-stats-orgs
      path: /enterprise/stats/orgs
      operations:
      - name: enterpriseadmingetorgstats
        method: GET
        description: GitHub Get Organization Statistics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprise-stats-pages
      path: /enterprise/stats/pages
      operations:
      - name: enterpriseadmingetpagesstats
        method: GET
        description: GitHub Get Pages Statistics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprise-stats-pulls
      path: /enterprise/stats/pulls
      operations:
      - name: enterpriseadmingetpullrequeststats
        method: GET
        description: GitHub Get Pull Request Statistics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprise-stats-repos
      path: /enterprise/stats/repos
      operations:
      - name: enterpriseadmingetrepostats
        method: GET
        description: GitHub Get Repository Statistics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprise-stats-users
      path: /enterprise/stats/users
      operations:
      - name: enterpriseadmingetuserstats
        method: GET
        description: GitHub Get Users Statistics
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprises-enterprise-actions-permissions
      path: /enterprises/{enterprise}/actions/permissions
      operations:
      - name: enterpriseadmingetgithubactionspermissionsenterprise
        method: GET
        description: GitHub Get GitHub Actions Permissions for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadminsetgithubactionspermissionsenterprise
        method: PUT
        description: GitHub Set GitHub Actions Permissions for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: enterprises-enterprise-actions-permissions-organizations
      path: /enterprises/{enterprise}/actions/permissions/organizations
      operations:
      - name: enterpriseadminlistselectedorganizationsenabledgithubactionsenterprise
        method: GET
        description: GitHub List Selected Organizations Enabled for GitHub Actions in an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadminsetselectedorganizationsenabledgithubactionsenterprise
        method: PUT
        description: GitHub Set Selected Organizations Enabled for GitHub Actions in an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: enterprises-enterprise-actions-permissions-organizations-org_id
      path: /enterprises/{enterprise}/actions/permissions/organizations/{org_id}
      operations:
      - name: enterpriseadminenableselectedorganizationgithubactionsenterprise
        method: PUT
        description: GitHub Enable a Selected Organization for GitHub Actions in an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadmindisableselectedorganizationgithubactionsenterprise
        method: DELETE
        description: GitHub Disable a Selected Organization for GitHub Actions in an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprises-enterprise-actions-permissions-selected-actions
      path: /enterprises/{enterprise}/actions/permissions/selected-actions
      operations:
      - name: enterpriseadmingetallowedactionsenterprise
        method: GET
        description: GitHub Get Allowed Actions for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadminsetallowedactionsenterprise
        method: PUT
        description: GitHub Set Allowed Actions for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: enterprises-enterprise-actions-runner-groups
      path: /enterprises/{enterprise}/actions/runner-groups
      operations:
      - name: enterpriseadminlistselfhostedrunnergroupsforenterprise
        method: GET
        description: GitHub List Self-hosted Runner Groups for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadmincreateselfhostedrunnergroupforenterprise
        method: POST
        description: GitHub Create a Self-hosted Runner Group for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: enterprises-enterprise-actions-runner-groups-runner_group_id
      path: /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}
      operations:
      - name: enterpriseadmingetselfhostedrunnergroupforenterprise
        method: GET
        description: GitHub Get a Self-hosted Runner Group for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadminupdateselfhostedrunnergroupforenterprise
        method: PATCH
        description: GitHub Update a Self-hosted Runner Group for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
      - name: enterpriseadmindeleteselfhostedrunnergroupfromenterprise
        method: DELETE
        description: GitHub Delete a Self-hosted Runner Group from an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprises-enterprise-actions-runner-groups-runner_group_id-organizations
      path: /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations
      operations:
      - name: enterpriseadminlistorgaccesstoselfhostedrunnergroupinenterprise
        method: GET
        description: GitHub List Organization Access to a Self-hosted Runner Group in an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadminsetorgaccesstoselfhostedrunnergroupinenterprise
        method: PUT
        description: GitHub Set Organization Access for a Self-hosted Runner Group in an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: enterprises-enterprise-actions-runner-groups-runner_group_id-organizations-org_i
      path: /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/organizations/{org_id}
      operations:
      - name: enterpriseadminaddorgaccesstoselfhostedrunnergroupinenterprise
        method: PUT
        description: GitHub Add Organization Access to a Self-hosted Runner Group in an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadminremoveorgaccesstoselfhostedrunnergroupinenterprise
        method: DELETE
        description: GitHub Remove Organization Access to a Self-hosted Runner Group in an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprises-enterprise-actions-runner-groups-runner_group_id-runners
      path: /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners
      operations:
      - name: enterpriseadminlistselfhostedrunnersingroupforenterprise
        method: GET
        description: GitHub List Self-hosted Runners in a Group for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadminsetselfhostedrunnersingroupforenterprise
        method: PUT
        description: GitHub Set Self-hosted Runners in a Group for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: enterprises-enterprise-actions-runner-groups-runner_group_id-runners-runner_id
      path: /enterprises/{enterprise}/actions/runner-groups/{runner_group_id}/runners/{runner_id}
      operations:
      - name: enterpriseadminaddselfhostedrunnertogroupforenterprise
        method: PUT
        description: GitHub Add a Self-hosted Runner to a Group for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadminremoveselfhostedrunnerfromgroupforenterprise
        method: DELETE
        description: GitHub Remove a Self-hosted Runner from a Group for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprises-enterprise-actions-runners
      path: /enterprises/{enterprise}/actions/runners
      operations:
      - name: enterpriseadminlistselfhostedrunnersforenterprise
        method: GET
        description: GitHub List Self-hosted Runners for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprises-enterprise-actions-runners-downloads
      path: /enterprises/{enterprise}/actions/runners/downloads
      operations:
      - name: enterpriseadminlistrunnerapplicationsforenterprise
        method: GET
        description: GitHub List Runner Applications for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprises-enterprise-actions-runners-registration-token
      path: /enterprises/{enterprise}/actions/runners/registration-token
      operations:
      - name: enterpriseadmincreateregistrationtokenforenterprise
        method: POST
        description: GitHub Create a Registration Token for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprises-enterprise-actions-runners-remove-token
      path: /enterprises/{enterprise}/actions/runners/remove-token
      operations:
      - name: enterpriseadmincreateremovetokenforenterprise
        method: POST
        description: GitHub Create a Remove Token for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprises-enterprise-actions-runners-runner_id
      path: /enterprises/{enterprise}/actions/runners/{runner_id}
      operations:
      - name: enterpriseadmingetselfhostedrunnerforenterprise
        method: GET
        description: GitHub Get a Self-hosted Runner for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadmindeleteselfhostedrunnerfromenterprise
        method: DELETE
        description: GitHub Delete a Self-hosted Runner from an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprises-enterprise-actions-runners-runner_id-labels
      path: /enterprises/{enterprise}/actions/runners/{runner_id}/labels
      operations:
      - name: enterpriseadminlistlabelsforselfhostedrunnerforenterprise
        method: GET
        description: GitHub List Labels for a Self-hosted Runner for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: enterpriseadminaddcustomlabelstoselfhostedrunnerforenterprise
        method: POST
        description: GitHub Add Custom Labels to a Self-hosted Runner for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: enterpriseadminsetcustomlabelsforselfhostedrunnerforenterprise
        method: PUT
        description: GitHub Set Custom Labels for a Self-hosted Runner for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: enterpriseadminremoveallcustomlabelsfromselfhostedrunnerforenterprise
        method: DELETE
        description: GitHub Remove All Custom Labels from a Self-hosted Runner for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprises-enterprise-actions-runners-runner_id-labels-name
      path: /enterprises/{enterprise}/actions/runners/{runner_id}/labels/{name}
      operations:
      - name: enterpriseadminremovecustomlabelfromselfhostedrunnerforenterprise
        method: DELETE
        description: GitHub Remove a Custom Label from a Self-hosted Runner for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: enterprises-enterprise-audit-log
      path: /enterprises/{enterprise}/audit-log
      operations:
      - name: enterpriseadmingetauditlog
        method: GET
        description: GitHub Get the Audit Log for an Enterprise
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          va

# --- truncated at 32 KB (141 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/capabilities/github-enterprise-admin.yaml