---
title: "Modify metaproperty"
url: "https://earlyaccess.developers.bynder.com/apis/metaproperty-1/versions/e015c0a3-e9ae-46ee-9a70-047f982dcfe9/operations/patchApi1TaxonomyMetapropertiesMetapropertyid"
---

> Full API specification: https://earlyaccess.developers.bynder.com/apis/metaproperty-1/versions/e015c0a3-e9ae-46ee-9a70-047f982dcfe9.md

# Modify metaproperty

`PATCH` `/api/1/taxonomy/metaproperties/{metapropertyId}`

Operation ID: `patchApi1TaxonomyMetapropertiesMetapropertyid`

Modify a metaproperty by id

## Path parameters

- `metapropertyId` (string, uuid, required)

## Request body (required)

Content types: `application/json`

## Responses

- `202`
- `400`
- `404`

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Metaproperty
  version: "1.0"
servers:
  - url: https://{your-bynder-domain}
paths:
  /api/1/taxonomy/metaproperties/{metapropertyId}:
    patch:
      description: Modify a metaproperty by id
      operationId: patchApi1TaxonomyMetapropertiesMetapropertyid
      parameters:
        - in: path
          name: metapropertyId
          required: true
          schema:
            format: uuid
            type: string
      requestBody:
        content:
          application/json:
            schema:
              properties:
                allowDuplicates:
                  type: boolean
                autocomplete:
                  type: boolean
                createDuringApply:
                  type: boolean
                definition:
                  type: string
                metapropertyType:
                  enum:
                    - single-select
                    - multi-select
                    - date
                    - text
                  title: MetapropertyTypeEnum
                  type: string
                name:
                  type: string
              title: MetapropertyUpdateInput
              type: object
        required: true
      responses:
        "202":
          content:
            application/json:
              examples:
                MetapropertyUpdated:
                  summary: Response when the metaproperty is updated
                  value:
                    message: Metaproperty has been updated
              schema:
                properties:
                  message:
                    type: string
                required:
                  - message
                title: MetapropertyUpdatedOutput
                type: object
          description: ""
        "400":
          content:
            application/json:
              examples:
                NameAlreadyRegistered:
                  summary: Response when the name is already used
                  value:
                    errorCode: name-already-registered
                    message: Name was already registered
              schema:
                properties:
                  errorCode:
                    type: string
                  errors:
                    items:
                      properties:
                        errorCode:
                          type: string
                        message:
                          type: string
                      required:
                        - errorCode
                        - message
                      title: ErrorMessage
                      type: object
                    type: array
                  message:
                    type: string
                title: MetapropertyUpdateInvalidOutput
                type: object
          description: ""
        "404":
          content:
            application/json:
              examples:
                MetapropertyNotExisting:
                  summary: Response when the metaproperty does not exist
                  value:
                    errorCode: metaproperty-not-existing
                    message: Metaproperty does not exist
              schema:
                properties:
                  errorCode:
                    type: string
                  message:
                    type: string
                title: MetapropertyUpdateNotFoundOutput
                type: object
          description: ""
      summary: Modify metaproperty
      tags:
        - Metaproperties - New API (Preferred)
security:
  - OAuth2:
      - METAPROPERTYMANAGEMENT
      - METAMANAGEMENT
  - permanentToken:
      - METAPROPERTYMANAGEMENT
      - METAMANAGEMENT
components:
  securitySchemes:
    OAuth2:
      flows:
        authorizationCode:
          authorizationUrl: https://{your-auth-url}
          scopes:
            METAMANAGEMENT: ""
            METAPROPERTYMANAGEMENT: ""
          tokenUrl: https://{your-bynder-domain}/v6/authentication/oauth2/token
        clientCredentials:
          scopes:
            METAMANAGEMENT: ""
            METAPROPERTYMANAGEMENT: ""
          tokenUrl: https://{your-bynder-domain}/v6/authentication/oauth2/token
      type: oauth2
    permanentToken:
      in: header
      name: Authorization
      type: apiKey
```
