---
title: "Modify option"
url: "https://earlyaccess.developers.bynder.com/apis/metaproperty-options-1/versions/9b6f896a-c5dd-4f1a-a8e4-591e5ef4f1db/paths/api-v4-metaproperties-id--options--optionId/post"
---

> Full API specification: https://earlyaccess.developers.bynder.com/apis/metaproperty-options-1/versions/9b6f896a-c5dd-4f1a-a8e4-591e5ef4f1db.md

# Modify option

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

Modify a specific option.

## Path parameters

- `id` (string, required)
- `optionId` (string, required)

## Request body (required)

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

## Responses

- `201` - Created
- `400` - Bad Request
- `404` - Not Found

## OpenAPI definition

```yaml
openapi: 3.1.0
info:
  title: Metaproperty options
  version: "1.0"
servers:
  - url: https://{your-bynder-domain}/
paths:
  /api/v4/metaproperties/{id}/options/{optionId}:
    post:
      description: Modify a specific option.
      parameters:
        - in: path
          name: id
          required: true
          schema:
            example: 00000000-0000-0000-0000000000000000
            type: string
        - in: path
          name: optionId
          required: true
          schema:
            example: 00000000-0000-0000-0000000000000000
            type: string
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              properties:
                data:
                  description: JSON-serialised string
                  example: '{"label": "Blue", "externalReference": "Reference number 1", "labels":
                    {"fr_FR": "foo", "en_US": "foo"}, "zindex": 4,
                    "isSelectable": true, "parentId":
                    "00000000-0000-0000-0000000000000000"}'
                  type: string
              type: object
        required: true
      responses:
        "201":
          content:
            application/json:
              schema:
                properties:
                  message:
                    example: Created
                    type: string
                  statuscode:
                    example: 201
                    type: integer
                type: object
          description: Created
        "400":
          content:
            application/json:
              examples:
                invalidName:
                  value:
                    message: Editing meta property option name not allowed
                    statuscode: "400"
              schema:
                properties:
                  message:
                    example: Editing meta property option name not allowed
                    type: string
                  statuscode:
                    example: "400"
                    type: string
                type: object
          description: Bad Request
        "404":
          content:
            application/json:
              examples:
                notFound:
                  value:
                    message: Meta property option not found
                    statuscode: "404"
              schema:
                properties:
                  message:
                    example: Meta property option not found
                    type: string
                  statuscode:
                    example: "404"
                    type: string
                type: object
          description: Not Found
      security:
        - OAuth2:
            - METAPROPERTYMANAGEMENT
            - METAMANAGEMENT
      summary: Modify option
      tags:
        - Options - Old API (Please use new API if possible)
security:
  - OAuth2:
      - 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
```
