PATCH/orgs/{org}/properties/installations/values/{property_name}

Create or update external custom property values for a property across organization repositories

Create new or update existing external custom property values for a single named property across repositories that belong to an organization.

Up to 100 repository values can be updated in a single request. Repositories not included in the request are left unchanged.

Using a value of null for a repository will remove or 'unset' the property value for that repository. A request that only contains null values for a property that does not yet exist is a no-op.

To use this endpoint, the authenticated GitHub App must have the organization_external_properties_for_repos:write permission.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

2 parameters · 1 body field
orgstringrequired
The organization name. The name is not case sensitive.
property_namestringrequired
The name of the external custom property
repository_valuesarray<RepositoryExternalCustomPropertyValuePayload>required
The names of repositories and the values that the named external custom property will be set to.

4 status codes
204A header with no content is returned.
403Forbidden
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
404Resource not found
messagestringoptional
documentation_urlstringoptional
urlstringoptional
statusstringoptional
422Validation failed, or the endpoint has been spammed.
messagestringrequired
documentation_urlstringrequired
errorsarray<object>optional

Error handling

A 403 is returned: Forbidden. A 404 is returned: Resource not found. A 422 is returned: Validation failed, or the endpoint has been spammed.