---
search:
  tags:
    - organizations
    - PATCH
seo:
  description: >-
    Updates only the custom field values for an organization.… Reference for the
    PATCH /organizations/{id}/custom-fields endpoint in the Leadtime Public API
    API.
sidebar:
  badge: PATCH
  label: Update organization custom fields
title: Update organization custom fields
type: openapi-operation
---
Updates only the custom field values for an organization. This endpoint is optimized for updating custom fields without affecting other organization data.

**Request body:**
- `customFields`: Object with custom field IDs as keys and their values
  - Keys should match custom field IDs configured in workspace settings
  - Values must match the field type (string, number, boolean, date, etc.)
  - Use the GET /administration/organization-settings/custom-fields endpoint to retrieve available custom fields

**Example:**
```json
{
  "customFields": {
    "field-id-1": "Text value",
    "field-id-2": 123,
    "field-id-3": true,
    "field-id-4": "2024-01-01"
  }
}
```

**Note:** This endpoint requires the Organizations.edit permission. The organization must exist in your workspace and not be deleted.

<Operation source="api-reference" id="organizationscontroller-updateorganizationcustomfields" />
