---
title: "Custom Field"
method: PUT
path: "/clubs/{club_id}/custom_fields/{id}"
tags: ["Custom Field"]
---

# Custom Field

`PUT /clubs/{club_id}/custom_fields/{id}`

Updates a Custom Field.

## Path parameters

- `club_id` integer, required
- `id` integer, required

## Request body

- object
  - `custom_field` object
    - `key` string — Unique identifier.
    - `value` string — Content of the key.
    - `description` string — Description which explain how this key/value should be used.
    - `category` string — Name for the category
    - `json_format` boolean — indicates if value should be a json. if true the field value is validated to be json

## Response `200`

OK

- object
  - `id` integer — Unique internal id.
  - `key` string — Unique identifier.
  - `value` string — Content of the key.
  - `category` string — Category for custom field.
  - `description` string — Description which explain how this key/value should be used.
  - `json_format` boolean — indicates if value should be a json. if true the field value is validated to be json

## Other responses

- `304` — Not Modified
- `401` — Unauthorized
- `404` — Not Found

---

[API](https://skmtc.dev/clubplatform/apis/api.md) · [All operations](https://skmtc.dev/clubplatform/apis/api/llms.txt) · [OpenAPI document](https://skmtc.dev/clubplatform/apis/api/revisions/5c107a185e03?raw)
