---
title: "Modify metaproperty"
url: "https://earlyaccess.developers.bynder.com/apis/metaproperty-1/versions/e015c0a3-e9ae-46ee-9a70-047f982dcfe9/paths/api-v4-metaproperties-id/post"
---

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

# Modify metaproperty

`POST` `/api/v4/metaproperties/{id}`

Requires the METAPROPERTYMANAGEMENT or METAMANAGEMENT security role.

## Path parameters

- `id` (string, required) - Metaproperty id.

## Request body

Content types: `application/x-www-form-urlencoded`

## Responses

- `201` - Created
- `400` - Invalid metaproperty type
- `404` - Metaproperty not found

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Metaproperty
  version: "1.0"
servers:
  - url: https://{your-bynder-domain}
paths:
  /api/v4/metaproperties/{id}:
    post:
      description: Requires the METAPROPERTYMANAGEMENT or METAMANAGEMENT security role.
      parameters:
        - description: Metaproperty id.
          in: path
          name: id
          required: true
          schema:
            type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              properties:
                data:
                  description: JSON-serialised string
                  example: |
                    {
                      "type": "select",
                      "label": "Colour",
                      "labels": {"fr_FR": "foo", "en_US": "foo"},
                      "zindex": 4,
                      "isEditable": true,
                      "isFilterable": true,
                      "isMainfilter": true,
                      "isMultiselect": true,
                      "isRequired": true,
                      "isMultifilter": true,
                      "isDrilldown": true,
                      "isDisplayField": true,
                      "isApiField": true
                    }
                  type: string
                id:
                  description: Metaproperty id.
                  example: 00000000-0000-0000-0000000000000000
                  type: string
              type: object
      responses:
        "201":
          content:
            application/json:
              examples:
                example-1:
                  value:
                    message: Created
                    statuscode: 201
          description: Created
        "400":
          content:
            application/json:
              examples:
                example-1:
                  value:
                    message: Invalid metaproperty type
                    statuscode: 400
          description: Invalid metaproperty type
        "404":
          content:
            application/json:
              examples:
                example-1:
                  value:
                    message: Metaproperty not found
                    statuscode: 404
          description: Metaproperty not found
      summary: Modify metaproperty
      tags:
        - Metaproperties - Old API (Please use new API if possible)
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
```
