# updateCustomMetadataProperty

> Mutation in domain **Metadata**

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

Update an existing `CustomMetadataProperty`. RequiresRequires `basic:write` scope to be accessible and `CustomMetadataProperty` permission level `EDIT`.

## Returns

`UpdateCustomMetadataProperty`

## Arguments

- `input`: `UpdateCustomMetadataPropertyInput!` — `UpdateCustomMetadataProperty` input argument.

## Example

```graphql
mutation UpdateCustomMetadataProperty {
  updateCustomMetadataProperty(
    input: {
      id: "…"
      data: { }
    }
  ) {
    __typename
    property {
      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: [`updateCustomMetadataProperty.example.sdl`](updateCustomMetadataProperty.example.sdl)
