# removeOptionValuesFromListOption (https://developer.godaddy.com/en/docs/references/rest/catalog/option/mutations/removeOptionValuesFromListOption)

***

title: removeOptionValuesFromListOption
description: "Remove values from an existing Option."
full: true
----------

mutation

Requires `commerce.product:write`.

Remove values from an existing Option.

## Required headers

| Header       | Required | Description                                                                                                                     |
| ------------ | -------- | ------------------------------------------------------------------------------------------------------------------------------- |
| `x-store-id` | Yes      | ID of the store the operation targets. Omitting it returns HTTP 200 with a GraphQL error: `extensions.code: "UNAUTHENTICATED"`. |

Go to [Authentication](https://developer.godaddy.com/docs/api-users/auth) for credential setup.

## Arguments

* `id` `String!` **required**
* `input` `MutationRemoveOptionValuesFromListOptionInput!` **required**
  * `valueIds` `[String!]!` **required**

## Possible returns

* `ListOption` `ListOption`

- `compareAtPriceRange` `PriceRange` **nullable** — The `compareAt` price range of the option, tracks the min and max `compareAt` price of all the option values under this option.
- `createdAt` `DateTime!` **non-null** — The timestamp of when the Option was created.
- `description` `String` **nullable** — A description of the Option.
- `id` `ID!` **non-null** — The UUID of the Option
- `label` `String` **nullable** — The display lable of the Option
- `metafields` `OptionMetafieldsConnection` **nullable**
- `name` `String!` **non-null** — A unique name of the Option.
- `priceRange` `PriceRange` **nullable** — The price range of the option, tracks the min and max price of all the option values under this option.
- `prices` `ListOptionPricesConnection` **nullable** — Represents the additional cost of a List Option. When empty, it indicates this option allows for flexible pricing.
- `shareable` `Boolean!` **non-null** — Whether the option is shareable across multiple SKU Groups (a global modifier).
- `skuGroupIds` `[String!]!` **non-null** — The IDs of all SKU groups this option is associated with.
- `type` `String` **nullable** — The type of the option, one of `TEXT`, `NUMBER`, `LIST`, Option Values are available for the 'LIST' type.
- `updatedAt` `DateTime!` **non-null** — The timestamp of when the Option was updated.
- `validation` `OptionValidation` **nullable** — Provide validations on how the option can be applied to a SKU. If `TEXT` option then `min` and `max` apply to the number of characters. If `NUMBER` then `min` and `max` apply to the actual number value. If `LIST` then `min` and `max` apply to the number of values that can be selected.
- `values` `ListOptionValuesConnection` **nullable** — Represents the additional cost of a List Option. Each value can have one or more prices.
- `position` `Int` **nullable** deprecated — The position of the option within its SKU group. Deprecated: Use the position from the SKUGroup.options connection instead. Position is per-SKU-group relationship.
- `skuGroupId` `ID!` **non-null** deprecated — The UUID of the SKU Group that the Option belongs to. Deprecated: Use skuGroupIds or the SKUGroup.options connection instead. An option may belong to multiple SKU groups.
