---
title: "Updates given custom field of a given user."
method: PUT
path: "/users/{userId}/customFields/{customFieldKey}"
tags: ["Users"]
---

# Updates given custom field of a given user.

`PUT /users/{userId}/customFields/{customFieldKey}`

Updates given custom field of a given user.

## Path parameters

- `userId` integer, required
- `customFieldKey` string, required

## Request body

- CustomFieldDTO
  - `type` 'TEXT' | 'DATE' | 'DATE_AND_TIME' | 'NUMBER' | 'CHECKBOX' | 'SELECTION' | 'MULTI_SELECTION'
  - `name` string
  - `key` string
  - `value` object

## Response `default`

Success

---

[API](https://skmtc.dev/xtrf/apis/xtrf-home-portal-api.md) · [All operations](https://skmtc.dev/xtrf/apis/xtrf-home-portal-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/xtrf/xtrf-home-portal-api/revisions/0c24935a3319/schema)
