enterprise-admin

List custom property values for organizations in an enterprise

Changed on

Lists enterprise organizations with all of their custom property values.

Access requirements:

  • Enterprise admins
  • OAuth tokens and personal access tokens (classic) with the read:enterprise scope
  • Actors with the enterprise-level "read enterprise custom properties for organizations" fine-grained permission or above
get/enterprises/{enterprise}/org-properties/values

Request

  • Base URL: https://api.github.com
  • URL: https://api.github.com/enterprises/{enterprise}/org-properties/values
  • Auth: none declared

Path parameters

enterprisestring required

The slug version of the enterprise name.

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

organization_idinteger required
organization_loginstring required

Example response

[
  {
    "organization_id": 1296269,
    "organization_login": "Hello-World"
  }
]

Changes

  • 2022-11-28cb7b1b79509eRevision changes
    • breaking

      the response property //// became nullable for the status