---
title: "Replace profile custom-field definitions"
method: PUT
path: "/settings/profile-fields/{entity}"
tags: ["Settings"]
---

# Replace profile custom-field definitions

`PUT /settings/profile-fields/{entity}`

## Request

- Base URL: `https://api.cavuno.com/v1`
- URL: `https://api.cavuno.com/v1/settings/profile-fields/{entity}`
- Auth: HTTP bearer

Replaces candidate or company definitions wholesale. Array order is display order. Existing field types are immutable. Requires `settings.manage`.

## Path parameters

- `entity` 'candidate' | 'company', required

## Request body

- ReplaceProfileFieldDefinitionsBody
  - `definitions` ProfileCustomFieldDefinition[], required
    - `key` string, required
    - `label` string, required
    - `helpText` string
    - `type` 'short_text' | 'long_text' | 'rich_text' | 'single_select' | 'multi_select' | 'boolean' | 'number' | 'date' | 'url' | 'email' | 'phone' | 'image_gallery' | 'file', required
    - `required` boolean, required
    - `visibility` 'private' | 'public', required
    - `editableByOwner` boolean, required
    - `options` object[]
      - `key` string, required
      - `label` string, required
    - `min` number
    - `max` number

## Response `200`

Updated definition list.

- ProfileCustomFieldDefinition[]
  - `key` string, required
  - `label` string, required
  - `helpText` string
  - `type` 'short_text' | 'long_text' | 'rich_text' | 'single_select' | 'multi_select' | 'boolean' | 'number' | 'date' | 'url' | 'email' | 'phone' | 'image_gallery' | 'file', required
  - `required` boolean, required
  - `visibility` 'private' | 'public', required
  - `editableByOwner` boolean, required
  - `options` object[]
    - `key` string, required
    - `label` string, required
  - `min` number
  - `max` number

## Other responses

- `422`: An existing field type was changed.

## Changes

- **2026-10-19** `c34152c38176`: 1 info
  - added the optional property `error/upgrade` to the response with the `422` status

[Operation history](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/changes/settings/profile-fields/:entity/put.md)

---

[API](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api.md) · [All operations](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/llms.txt) · [OpenAPI document](https://skmtc.dev/cavuno/apis/cavuno-v1-rest-api/revisions/d5974dabff14?raw)
