---
title: Update the specified content item.
slug: cms-12/api/c6fB-update-the-specified-content-item
docTags: 
createdAt: 2026-08-28T13:16:06.833Z
---

{
  "id": "_tOa-uEVtykDolPw-E96K",
  "type": "api-oas-v2",
  "data": {
    "method": "PATCH",
    "url": "http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentGuid}",
    "servers": [
      {
        "url": "http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentGuid}"
      }
    ],
    "name": "Update the specified content item.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "contentGuid",
          "type": "string<uuid>",
          "description": "A unique identifier of the content item that should be updated.",
          "format": "uuid"
        }
      ],
      "headerParameters": [],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "x-epi-validation-mode",
          "type": "string",
          "description": "",
          "enum": [
            "complete",
            "minimal"
          ]
        }
      ],
      "bodyDataParameters": [
        {
          "kind": "required",
          "name": "body",
          "type": "object",
          "description": "The patch information describing how the content item should be updated.",
          "customType": "patchContent",
          "schema": [
            {
              "name": "name",
              "kind": "optional",
              "type": "string",
              "description": "The name of the content."
            },
            {
              "name": "language",
              "kind": "optional",
              "type": "object",
              "description": "Serializable model class for store language information",
              "modelRef": "#/components/schemas/language",
              "customType": "language",
              "schema": [
                {
                  "name": "displayName",
                  "kind": "optional",
                  "type": "string",
                  "readOnly": true,
                  "description": "<p>Display name of language. Ex: English, Svenska</p>"
                },
                {
                  "name": "name",
                  "kind": "required",
                  "type": "string",
                  "description": "<p>Name of language. Ex: en, sv</p>"
                }
              ]
            },
            {
              "name": "routeSegment",
              "kind": "optional",
              "type": "string",
              "description": "The route segment of the content."
            },
            {
              "name": "startPublish",
              "kind": "optional",
              "type": "string<date-time>",
              "description": "The start publish date for the content.",
              "format": "date-time"
            },
            {
              "name": "stopPublish",
              "kind": "optional",
              "type": "string<date-time>",
              "description": "The stop publish date of the content.",
              "format": "date-time"
            },
            {
              "name": "status",
              "kind": "optional",
              "type": "string<Rejected | CheckedIn | CheckedOut | Published | DelayedPublish | AwaitingApproval>",
              "description": "The version status of the content.",
              "enum": [
                "Rejected",
                "CheckedIn",
                "CheckedOut",
                "Published",
                "DelayedPublish",
                "AwaitingApproval"
              ]
            }
          ],
          "modelRef": "#/components/schemas/patchContent",
          "isExpanded": true
        }
      ],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "204",
        "description": "No Content",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "400",
        "description": "Bad Request",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "403",
        "description": "Forbidden",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "404",
        "description": "Not Found",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "QrdfCl4m04z-i7b5G8hCT",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request PATCH \\\n     --url http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentGuid} \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '{\n     \"language\": {\n     \"name\": \"\"\n     }\n     }'"
        },
        {
          "id": "ntUjTpFjAyr0IBAcfAQwq",
          "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   \"language\": {\n      \"name\": \"\"\n   }\n});\n\nvar requestOptions = {\n   method: 'PATCH',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentGuid}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "5oMnKMovB5OSxO0tjMOqS",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentGuid}\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Patch.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"language\": {\n      \"name\": \"\"\n   }\n})\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "QOA3RU5j_RAuBII7OHbR4",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentGuid}\"\n\npayload = json.dumps({\n   \"language\": {\n      \"name\": \"\"\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": "QrdfCl4m04z-i7b5G8hCT"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-204",
          "language": "204",
          "code": "// No Content\n"
        },
        {
          "id": "response-1-400",
          "language": "400",
          "code": "// Bad Request\n"
        },
        {
          "id": "response-2-403",
          "language": "403",
          "code": "// Forbidden\n"
        },
        {
          "id": "response-3-404",
          "language": "404",
          "code": "// Not Found\n"
        }
      ],
      "selectedLanguageId": "response-0-204"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}