private-registries
List private registries for an organization
Changed onLists 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
Example response
{
"configurations": [
{
"name": "MAVEN_REPOSITORY_SECRET",
"username": "monalisa"
}
]
}Changes
- warning
added the new
anonymousenum value to the//response property for the response status
- warning