---
title: "PUT /spaces/{spaceId}/projects/{projectId}/taskCustomFields/{taskCustomFieldId}/fieldOptions/{fieldOptionId}"
method: PUT
path: "/spaces/{spaceId}/projects/{projectId}/taskCustomFields/{taskCustomFieldId}/fieldOptions/{fieldOptionId}"
tags: ["slash-custom-field-option"]
---

# PUT /spaces/{spaceId}/projects/{projectId}/taskCustomFields/{taskCustomFieldId}/fieldOptions/{fieldOptionId}

`PUT /spaces/{spaceId}/projects/{projectId}/taskCustomFields/{taskCustomFieldId}/fieldOptions/{fieldOptionId}`

## Path parameters

- `spaceId` integer, required
- `projectId` integer, required
- `taskCustomFieldId` integer, required
- `fieldOptionId` integer, required

## Request body

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

## Response `200`

OK

## Changes

- **2026-08-08** `237f5bbd4029` — 2 breaking, 1 info
  - the `optionName` request property's minLength was increased from `0` to `1`
  - removed the media type `application/hal+json` for the response with the status `200`
  - added the media type `application/vnd.hal+json` for the response with the status `200`

[Change history](https://skmtc.dev/astravue/apis/astravue-api/changes/spaces/:spaceId/projects/:projectId/taskCustomFields/:taskCustomFieldId/fieldOptions/:fieldOptionId/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)
