---
title: "PUT /domains/{domainId}/fields/{fieldId}/options"
method: PUT
path: "/domains/{domainId}/fields/{fieldId}/options"
---

# PUT /domains/{domainId}/fields/{fieldId}/options

`PUT /domains/{domainId}/fields/{fieldId}/options`

Creates and updates a set of field options for a single select field in a Cases domain.

## Path parameters

- `domainId` string, required
- `fieldId` string, required

## Request body

- object
  - `options` FieldOption[], required — A list of <code>FieldOption</code> objects.
    - `name` string, required — <code>FieldOptionName</code> has max length 100 and disallows trailing spaces.
    - `value` string, required — <code>FieldOptionValue</code> has max length 100 and must be alphanumeric with hyphens and underscores.
    - `active` boolean, required — Describes whether the <code>FieldOption</code> is active (displayed) or inactive.

## Response `200`

Success

- BatchPutFieldOptionsResponse
  - `errors` FieldOptionError[] — A list of field errors.
    - `message` string, required — Error message from creating or updating field option.
    - `errorCode` string, required — Error code from creating or updating field option.
    - `value` string, required — The field option value that caused the error.

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — ValidationException
- `483` — ThrottlingException
- `484` — AccessDeniedException
- `485` — ServiceQuotaExceededException

---

[API](https://skmtc.net/aws/apis/connectcases.md) · [All operations](https://skmtc.net/aws/apis/connectcases/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/connectcases/versions/2533502f9155/schema)
