private-registries

List private registries for an organization

Changed on

Lists all private registry configurations available at the organization-level without revealing their encrypted values.

OAuth app tokens and personal access tokens (classic) need the admin:org scope to use this endpoint.

get/orgs/{org}/private-registries

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/orgs/{org}/private-registries
  • Auth: none declared

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Query parameters

per_pageinteger

The number of results per page (max 100). For more information, see "Using pagination in the REST API."

pageinteger

The page number of the results to fetch. For more information, see "Using pagination in the REST API."

Response

Response

total_countinteger required

Example response

{
  "configurations": [
    {
      "name": "MAVEN_REPOSITORY_SECRET",
      "username": "monalisa"
    }
  ]
}

Changes

  • 2026-03-103df3a14aaef4Revision changes
    • warning

      added the new anonymous enum value to the // response property for the response status