---
title: "PUT /taskCustomFields/org/{taskCustomFieldId}/fieldOptions/{optionId}"
method: PUT
path: "/taskCustomFields/org/{taskCustomFieldId}/fieldOptions/{optionId}"
tags: ["slash-task-custom-field"]
---

# PUT /taskCustomFields/org/{taskCustomFieldId}/fieldOptions/{optionId}

`PUT /taskCustomFields/org/{taskCustomFieldId}/fieldOptions/{optionId}`

## Path parameters

- `taskCustomFieldId` integer, required
- `optionId` integer, required

## Request body

- CustomFieldOptionDto
  - `optionId` integer
  - `optionName` string, required
  - `color` string
  - `spaceId` integer
  - `projectId` integer
  - `taskCustomFieldId` integer

## Response `200`

OK

- ResponseFormat
  - `success` boolean
  - `message` string
  - `data` unknown
  - `errorCode` integer
  - `errors` unknown

## Changes

- **2026-08-08** `237f5bbd4029` — 3 breaking
  - the `optionName` request property's minLength was increased from `0` to `1`
  - the `data` response's property type/format changed from `object`/`` to ``/`` for status `200`
  - the `errors` response's property type/format changed from `object`/`` to ``/`` for status `200`

[Change history](https://skmtc.dev/astravue/apis/astravue-api/changes/taskCustomFields/org/:taskCustomFieldId/fieldOptions/:optionId/put.md)

---

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