This version of GitHub Enterprise Server will be discontinued on 2026-03-17. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features, upgrade to the latest version of GitHub Enterprise Server. For help with the upgrade, contact GitHub Enterprise support.
The REST API is now versioned. For more information, see "About API versioning."
REST API endpoints for packages
Use the REST API to interact with GitHub Packages.
- REST API endpoints for packages
- Get list of conflicting packages during Docker migration for organization
- List packages for an organization
- Get a package for an organization
- Delete a package for an organization
- Restore a package for an organization
- List package versions for a package owned by an organization
- Get a package version for an organization
- Delete package version for an organization
- Restore package version for an organization
- Get list of conflicting packages during Docker migration for authenticated-user
- List packages for the authenticated user's namespace
- Get a package for the authenticated user
- Delete a package for the authenticated user
- Restore a package for the authenticated user
- List package versions for a package owned by the authenticated user
- Get a package version for the authenticated user
- Delete a package version for the authenticated user
- Restore a package version for the authenticated user
- Get list of conflicting packages during Docker migration for user
- List packages for a user
- Get a package for a user
- Delete a package for a user
- Restore a package for a user
- List package versions for a package owned by a user
- Get a package version for a user
- Delete package version for a user
- Restore package version for a user