> ## Documentation Index
> Fetch the complete documentation index at: https://developer.lulacommerce.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Delete Modifier Group Option From Modifier Group

> This endpoint removes specific options from a modifier group. Use this to eliminate unwanted customization choices or clean up outdated options.

This endpoint allows you to remove specific options from a modifier group. This is useful when you want to discontinue certain customization choices or clean up options that are no longer relevant.

<Warning>
  Deleting modifier options will remove them from all associated menu items. This action cannot be undone.
</Warning>

### Path Parameters

<ParamField path="store_id" type="string" required>
  The unique identifier of the store
</ParamField>

<ParamField path="modifier_group_id" type="string" required>
  The unique identifier of the modifier group
</ParamField>

### Body

<ParamField body="option_ids" type="array" required>
  Array of modifier option IDs to delete from the group
</ParamField>

### Request Example

```json theme={null}
[
  1000218,
  1000219
]
```

### Response

<ResponseField name="success" type="boolean">
  Indicates if the operation was successful
</ResponseField>

<ResponseField name="deletedOptions" type="array">
  Array of option IDs that were successfully deleted
</ResponseField>

<ResponseField name="notDeletedOptions" type="array">
  Array of option IDs that could not be deleted (may not exist or have dependencies)
</ResponseField>

<ResponseField name="message" type="string">
  Success message describing the operation result
</ResponseField>

### Response Example

```json theme={null}
{
  "success": true,
  "deletedOptions": [
    1000218
  ],
  "notDeletedOptions": [
    1000219
  ],
  "message": "Modifier options deleted successfully"
}
```

<Info>
  Options that couldn't be deleted may be referenced by existing orders or have other dependencies. Check the "notDeletedOptions" array for details.
</Info>

<Tip>
  Consider setting options to "inactive" status instead of deleting them if you want to preserve historical order data.
</Tip>
