---
title: "Create or update custom property values for organizations in an enterprise"
method: PATCH
path: "/enterprises/{enterprise}/org-properties/values"
tags: ["enterprise-admin"]
---

# Create or update custom property values for organizations in an enterprise

`PATCH /enterprises/{enterprise}/org-properties/values`

Create or update custom property values for organizations in an enterprise.

To remove a custom property value from an organization, set the property value to `null`.

Access requirements:
- Enterprise admins
- OAuth tokens and personal access tokens (classic) with the `admin:enterprise` scope
- Actors with the enterprise-level "edit enterprise custom properties for organizations" fine-grained permission or above

## Path parameters

- `enterprise` string, required

## Request body

- object
  - `organization_logins` string[], required — The names of organizations that the custom property values will be applied to.
  - `properties` CustomPropertyValue[], required — List of custom property names and associated values to apply to the organizations.
    - `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-3.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-3/versions/dc0584ac4e13/schema)
