# addCustomMetadataPropertyOptions

> Mutation in domain **Metadata**

- HTML: [addCustomMetadataPropertyOptions.html](addCustomMetadataPropertyOptions.html)
- Raw SDL: [addCustomMetadataPropertyOptions.sdl](addCustomMetadataPropertyOptions.sdl)
- Covered by: [llms.txt](../llms.txt)

Add options to an existing `SELECT` or `MULTISELECT` type `CustomMetadataProperty`. RequiresRequires `basic:write` scope to be accessible and `CustomMetadataProperty` permission level `EDIT`.

## Returns

`AddCustomMetadataPropertyOptions`

## Arguments

- `input`: `AddCustomMetadataPropertyOptionsInput!` — `AddCustomMetadataPropertyOptions` input argument.

## Example

```graphql
mutation AddCustomMetadataPropertyOptions {
  addCustomMetadataPropertyOptions(
    input: {
      propertyId: "…"
      options: [
        {
          value: "…"
        }
      ]
    }
  ) {
    __typename
    customMetadataProperty {
      name
      id
      createdAt
      defaultValue
      forbiddenDependeePropertyIds
      helpText
      creator {
        __typename
        name
        id
      }
      dependency {
        __typename
        propertyId
        type
        ... on CustomMetadataPropertySelectValueTypeDependencyTypeEquals {
          propertyOptionId
        }
        ... on CustomMetadataPropertySelectValueTypeDependencyTypeOneOf {
          propertyOptionIds
        }
      }
      modifier {
        __typename
        name
        id
      }
      permissions {
        basic { permissionLevel }
        custom { permissionLevel }
      }
      type {
        __typename
        name
        ... on CustomMetadataPropertyTypeCatalog {
          allowedLinkedColumnIds
          allowMultiSelect
        }
      }
    }
  }
}
```

Raw: [`addCustomMetadataPropertyOptions.example.sdl`](addCustomMetadataPropertyOptions.example.sdl)
