---
title: Update Value Set Values
slug: update-value-set-values
docTags: 
createdAt: 2026-08-25T19:28:59.170Z
---

{
  "id": "6YLrXnb5d9BSwNj7GegEs",
  "type": "api-oas-v2",
  "data": {
    "method": "PATCH",
    "url": "https://api.nue.io/metadata/valueSets/{valueSetName}/values",
    "servers": [
      {
        "url": "https://api.nue.io/metadata/valueSets/{valueSetName}/values",
        "description": "Nue Production API Endpoint"
      },
      {
        "url": "https://api.sandbox.nue.io/metadata/valueSets/{valueSetName}/values",
        "description": "Nue Sandbox API Endpoint"
      }
    ],
    "name": "Update Value Set Values",
    "description": "<p>Update specific values within a value set. This allows you to modify, add, or remove individual picklist values without replacing the entire value set.</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "valueSetName",
          "type": "string",
          "description": "The value set name."
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "required",
          "name": "body",
          "type": "object",
          "description": "The request to update values in a value set.",
          "customType": "PatchValueSetValuesRequest",
          "schema": [
            {
              "name": "values",
              "kind": "required",
              "type": "array",
              "description": "",
              "modelRef": "#/components/schemas/ValuePair",
              "customType": "ValuePair[]",
              "schema": [
                {
                  "name": "apiName",
                  "kind": "optional",
                  "type": "string",
                  "description": "The API name of the value",
                  "example": "High"
                },
                {
                  "name": "name",
                  "kind": "optional",
                  "type": "string",
                  "description": "The display name of the value",
                  "example": "High Priority"
                },
                {
                  "name": "orderNumber",
                  "kind": "optional",
                  "type": "integer<int32>",
                  "description": "The sort order of this value in the list",
                  "example": 1,
                  "format": "int32"
                },
                {
                  "name": "active",
                  "kind": "optional",
                  "type": "boolean",
                  "description": "Whether this value is active and selectable",
                  "example": true
                }
              ]
            }
          ],
          "modelRef": "#/components/schemas/PatchValueSetValuesRequest",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "apiKeyAuth",
          "name": "nue-api-key",
          "kind": "optional",
          "type": "apiKey",
          "in": "header"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "OK",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "CreateValueSetResponse",
            "schema": [
              {
                "name": "apiName",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "name",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "values",
                "kind": "optional",
                "type": "array",
                "description": "",
                "modelRef": "#/components/schemas/ValuePair",
                "customType": "ValuePair[]",
                "schema": [
                  {
                    "name": "apiName",
                    "kind": "optional",
                    "type": "string",
                    "description": "The API name of the value",
                    "example": "High"
                  },
                  {
                    "name": "name",
                    "kind": "optional",
                    "type": "string",
                    "description": "The display name of the value",
                    "example": "High Priority"
                  },
                  {
                    "name": "orderNumber",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "description": "The sort order of this value in the list",
                    "example": 1,
                    "format": "int32"
                  },
                  {
                    "name": "active",
                    "kind": "optional",
                    "type": "boolean",
                    "description": "Whether this value is active and selectable",
                    "example": true
                  }
                ]
              },
              {
                "name": "defaultValue",
                "kind": "optional",
                "type": "string",
                "description": ""
              },
              {
                "name": "alphabeticallyOrdered",
                "kind": "optional",
                "type": "boolean",
                "description": ""
              }
            ],
            "modelRef": "#/components/schemas/CreateValueSetResponse",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "vrzcEMS-1FB83WzzKaq8c",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request PATCH \\\n     --url https://api.nue.io/metadata/valueSets/{valueSetName}/values \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '{\n     \"values\": [\n     {}\n     ]\n     }'"
        },
        {
          "id": "AaXxamcXJIKkdqI4M_XyN",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar raw = JSON.stringify({\n   \"values\": [\n      {}\n   ]\n});\n\nvar requestOptions = {\n   method: 'PATCH',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.nue.io/metadata/valueSets/{valueSetName}/values\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "79bt7BINRSSQHIQbhzlQG",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.nue.io/metadata/valueSets/{valueSetName}/values\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Patch.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"values\": [\n      {}\n   ]\n})\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "1EDiy16Kkc5y4CH5ElthJ",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.nue.io/metadata/valueSets/{valueSetName}/values\"\n\npayload = json.dumps({\n   \"values\": [\n      {}\n   ]\n})\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"PATCH\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "vrzcEMS-1FB83WzzKaq8c"
    },
    "results": {
      "languages": [
        {
          "id": "gI5C31g6nMA7p_yqw7aaF",
          "language": "200",
          "code": "// OK\n{\n  \"apiName\": \"\",\n  \"name\": \"\",\n  \"values\": [\n    {\n      \"apiName\": \"High\",\n      \"name\": \"High Priority\",\n      \"orderNumber\": 1,\n      \"active\": true\n    }\n  ],\n  \"defaultValue\": \"\",\n  \"alphabeticallyOrdered\": false\n}"
        }
      ],
      "selectedLanguageId": "gI5C31g6nMA7p_yqw7aaF"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}