---
title: "Update UDF Labels"
method: PATCH
path: "/v1/meta/labels/{entity}/"
tags: ["Metadata"]
---

# Update UDF Labels

`PATCH /v1/meta/labels/{entity}/`

Update the labels for user defined fields on project

This endpoint will ignore any fields that are empty; only fields with values will be updated. If the value is set to null, it will be cleared.

## Path parameters

- `entity` 'project', required — Entities with User Defined Fields

## Request body

- UdfColumnLabelsModel
  - `udf1Label` string, nullable — Label for the customer-defined metadata found in udf1
  - `udf2Label` string, nullable — Label for the customer-defined metadata found in udf2
  - `udf3Label` string, nullable — Label for the customer-defined metadata found in udf3

## Response `200`

Successful Response

- ApiGenericResponseUdfColumnLabelsModel
  - `error` boolean — A boolean error indicator.
  - `message` string, nullable — Optional message.
  - `data` UdfColumnLabelsModel
    - `udf1Label` string, nullable — Label for the customer-defined metadata found in udf1
    - `udf2Label` string, nullable — Label for the customer-defined metadata found in udf2
    - `udf3Label` string, nullable — Label for the customer-defined metadata found in udf3

## Other responses

- `400` — Business Logic Error
- `403` — Permission Error
- `409` — Integrity Error or Data Conflict
- `422` — Validation Error

---

[API](https://skmtc.dev/salussafety/apis/salus-developer-api.md) · [All operations](https://skmtc.dev/salussafety/apis/salus-developer-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/salussafety/salus-developer-api/revisions/ef065f44da25/schema)
