---
title: "Create or update custom property values for organization repositories"
method: PATCH
path: "/orgs/{org}/properties/values"
tags: ["orgs"]
---

# Create or update custom property values for organization repositories

`PATCH /orgs/{org}/properties/values`

Create new or update existing custom property values for repositories in a batch that belong to an organization.
Each target repository will have its custom property values updated to match the values provided in the request.

A maximum of 30 repositories can be updated in a single request.

Using a value of `null` for a custom property will remove or 'unset' the property value from the repository.

To use this endpoint, the authenticated user must be one of:
  - An administrator for the organization.
  - A user, or a user on a team, with the fine-grained permission of `custom_properties_org_values_editor` in the organization.

## Path parameters

- `org` string, required

## Request body

- object
  - `repository_names` string[], required — The names of repositories that the custom property values will be applied to.
  - `properties` CustomPropertyValue[], required — List of custom property names and associated values to apply to the repositories.
    - `property_name` string, required — The name of the property
    - `value` union, required — The value assigned to the property
      - string
      - string[]

## Response `204`

No Content when custom property values are successfully created or updated

## Other responses

- `403` — Forbidden
- `404` — Resource not found
- `422` — Validation failed, or the endpoint has been spammed.

---

[API](https://skmtc.net/github/apis/github-v3-rest-api.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api/versions/a367f7028301/schema)
