How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Enterprise Packages API

Manage packages for authenticated users and organizations.

GitHub Enterprise Packages API is one of 58 APIs that GitHub Enterprise publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Packages. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, authentication docs, and 8 JSON Schemas.

This API exposes 27 operations across 21 paths, and defines 8 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against a single base URL, https://api.github.com.

27 operations 21 paths 8 schemas 6 DELETE15 GET6 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Contact
License
Terms of Service
Resource Areas
1

Paths & Operations 27

Across 21 paths, the API surfaces 27 operations — 6 DELETE, 15 GET, 6 POST. Each is listed below with its method, path, parameters, and response codes.

Packages 27

Manage packages for authenticated users and organizations.

GET
/orgs/{org}/docker/conflicts
Get list of conflicting packages during Docker migration for organization
packages/list-docker-migration-conflicting-packages-for-organization 1 param → 200403401
GET
/orgs/{org}/packages
List packages for an organization
packages/list-packages-for-organization 5 params → 200403401400
GET
/orgs/{org}/packages/{package_type}/{package_name}
Get a package for an organization
packages/get-package-for-organization 3 params → 200
DELETE
/orgs/{org}/packages/{package_type}/{package_name}
Delete a package for an organization
packages/delete-package-for-org 3 params → 204404403401
POST
/orgs/{org}/packages/{package_type}/{package_name}/restore
Restore a package for an organization
packages/restore-package-for-org 4 params → 204404403401
GET
/orgs/{org}/packages/{package_type}/{package_name}/versions
List package versions for a package owned by an organization
packages/get-all-package-versions-for-package-owned-by-org 6 params → 200404403401
GET
/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}
Get a package version for an organization
packages/get-package-version-for-organization 4 params → 200
DELETE
/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}
Delete package version for an organization
packages/delete-package-version-for-org 4 params → 204404403401
POST
/orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore
Restore package version for an organization
packages/restore-package-version-for-org 4 params → 204404403401
GET
/user/docker/conflicts
Get list of conflicting packages during Docker migration for authenticated-user
packages/list-docker-migration-conflicting-packages-for-authenticated-user → 200
GET
/user/packages
List packages for the authenticated user's namespace
packages/list-packages-for-authenticated-user 4 params → 200400
GET
/user/packages/{package_type}/{package_name}
Get a package for the authenticated user
packages/get-package-for-authenticated-user 2 params → 200
DELETE
/user/packages/{package_type}/{package_name}
Delete a package for the authenticated user
packages/delete-package-for-authenticated-user 2 params → 204404403401
POST
/user/packages/{package_type}/{package_name}/restore
Restore a package for the authenticated user
packages/restore-package-for-authenticated-user 3 params → 204404403401
GET
/user/packages/{package_type}/{package_name}/versions
List package versions for a package owned by the authenticated user
packages/get-all-package-versions-for-package-owned-by-authenticated-user 5 params → 200404403401
GET
/user/packages/{package_type}/{package_name}/versions/{package_version_id}
Get a package version for the authenticated user
packages/get-package-version-for-authenticated-user 3 params → 200
DELETE
/user/packages/{package_type}/{package_name}/versions/{package_version_id}
Delete a package version for the authenticated user
packages/delete-package-version-for-authenticated-user 3 params → 204404403401
POST
/user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore
Restore a package version for the authenticated user
packages/restore-package-version-for-authenticated-user 3 params → 204404403401
GET
/users/{username}/docker/conflicts
Get list of conflicting packages during Docker migration for user
packages/list-docker-migration-conflicting-packages-for-user 1 param → 200403401
GET
/users/{username}/packages
List packages for a user
packages/list-packages-for-user 5 params → 200403401400
GET
/users/{username}/packages/{package_type}/{package_name}
Get a package for a user
packages/get-package-for-user 3 params → 200
DELETE
/users/{username}/packages/{package_type}/{package_name}
Delete a package for a user
packages/delete-package-for-user 3 params → 204404403401
POST
/users/{username}/packages/{package_type}/{package_name}/restore
Restore a package for a user
packages/restore-package-for-user 4 params → 204404403401
GET
/users/{username}/packages/{package_type}/{package_name}/versions
List package versions for a package owned by a user
packages/get-all-package-versions-for-package-owned-by-user 3 params → 200404403401
GET
/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}
Get a package version for a user
packages/get-package-version-for-user 4 params → 200
DELETE
/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}
Delete package version for a user
packages/delete-package-version-for-user 4 params → 204404403401
POST
/users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore
Restore package version for a user
packages/restore-package-version-for-user 4 params → 204404403401

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are nullable-minimal-repository (90 properties), simple-user (22 properties), nullable-simple-user (22 properties), package-version (11 properties). Each schema is shown below with its type and property counts.

code-of-conduct
object
Code Of Conduct
5 properties 4 required
basic-error
object
Basic Error
4 properties
package
object
A software package
11 properties 9 required
package-version
object
A version of a software package
11 properties 6 required
nullable-simple-user
objectnull
A GitHub user.
22 properties 18 required
security-and-analysis
objectnull
11 properties
simple-user
object
A GitHub user.
22 properties 18 required
nullable-minimal-repository
objectnull
Minimal Repository
90 properties 46 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-enterprise-packages-api-openapi.yml Raw ↑

Other APIs GitHub Enterprise publishes across the network.

GitHub Enterprise Cloud GraphQL API
GitHub MCP Server
GitHub Enterprise Actions API
GitHub Enterprise Code Scanning API
GitHub Enterprise Admin API
GitHub Enterprise Issues API
GitHub Enterprise SCIM API
GitHub Enterprise Users API
GitHub Enterprise Activity API
GitHub Enterprise Agent Automations API
GitHub Enterprise Agent Merge API
GitHub Enterprise Agent Tasks API
Where this information came from

This is an independent, third-party profile of GitHub Enterprise Packages API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.