---
title: Creates or updates new media content via {multipart/form-data} request.

            There should be two parts: one named {content} with its body in JSON format; the other one
            refers to the binary data of the media content.
            
slug: cms-12/api/creates-or-updates-new-media-content-via-multipartform-data-request-there-should-be-two-parts-one-named-content-with-its-body-in-json-format-the-other-one-refers-to-the-binary-data-of-the-media-content
docTags: 
createdAt: 2026-08-28T13:16:06.833Z
---

{
  "id": "m-Ks-jmDvk2mNIeoMrjgi",
  "type": "api-oas-v2",
  "data": {
    "method": "PUT",
    "url": "/api/episerver/v3.0/contentmanagement/{contentGuid}",
    "servers": [],
    "name": "Creates or updates new media content via {multipart/form-data} request.\r\n\r\n            There should be two parts: one named {content} with its body in JSON format; the other one\r\n            refers to the binary data of the media content.\r\n            ",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "contentGuid",
          "type": "string<uuid>",
          "description": "<p>Guid of the content that should be created/updated.</p>",
          "format": "uuid"
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json",
            "application/problem+json"
          ],
          "default": "application/json"
        },
        {
          "kind": "optional",
          "name": "x-epi-validation-mode",
          "type": "object",
          "description": "The validation mode used when saving content.",
          "customType": "contentValidationMode",
          "schema": [],
          "modelRef": "#/components/schemas/contentValidationMode"
        },
        {
          "kind": "optional",
          "name": "x-epi-parent-location-rule",
          "type": "object",
          "description": "Specifies location rule to save content directly under parent or under parent's asset folder.",
          "customType": "parentLocationRule",
          "schema": [],
          "modelRef": "#/components/schemas/parentLocationRule"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "content",
          "type": "object",
          "description": "The media content to be created or updated.",
          "customType": "content",
          "schema": [
            {
              "name": "contentLink",
              "kind": "optional",
              "type": "object",
              "description": "Serializable model class for ContentReference.",
              "modelRef": "#/components/schemas/contentReference",
              "customType": "contentReference",
              "schema": [
                {
                  "name": "id",
                  "kind": "optional",
                  "type": "integer<int32>",
                  "nullable": true,
                  "description": "Id number of the content.",
                  "format": "int32"
                },
                {
                  "name": "workId",
                  "kind": "optional",
                  "type": "integer<int32>",
                  "nullable": true,
                  "description": "The version id of the content.",
                  "format": "int32"
                },
                {
                  "name": "guidValue",
                  "kind": "optional",
                  "type": "string<uuid>",
                  "nullable": true,
                  "description": "The unique identifier of the content.",
                  "format": "uuid"
                },
                {
                  "name": "providerName",
                  "kind": "optional",
                  "type": "string",
                  "nullable": true,
                  "description": "The provider name that serves the content."
                },
                {
                  "name": "url",
                  "kind": "optional",
                  "type": "string",
                  "readOnly": true,
                  "nullable": true,
                  "description": "Url of the content."
                },
                {
                  "name": "language",
                  "kind": "optional",
                  "type": "object",
                  "readOnly": true,
                  "description": "",
                  "complexType": "allOf",
                  "complexItems": [
                    {
                      "name": "language",
                      "description": "",
                      "modelRef": "#/components/schemas/language",
                      "schema": [
                        {
                          "name": "displayName",
                          "kind": "optional",
                          "type": "string",
                          "readOnly": true,
                          "nullable": true,
                          "description": "<p>Display name of language. Ex: English, Svenska</p>"
                        },
                        {
                          "name": "name",
                          "kind": "required",
                          "type": "string",
                          "nullable": true,
                          "description": "<p>Name of language. Ex: en, sv</p>"
                        }
                      ]
                    }
                  ],
                  "schema": []
                }
              ]
            },
            {
              "name": "name",
              "kind": "required",
              "type": "string",
              "nullable": true,
              "description": "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,
                  "nullable": true,
                  "description": "<p>Display name of language. Ex: English, Svenska</p>"
                },
                {
                  "name": "name",
                  "kind": "required",
                  "type": "string",
                  "nullable": true,
                  "description": "<p>Name of language. Ex: en, sv</p>"
                }
              ]
            },
            {
              "name": "existingLanguages",
              "kind": "optional",
              "type": "array",
              "readOnly": true,
              "nullable": true,
              "description": "The existing languages of the content.",
              "modelRef": "#/components/schemas/language",
              "customType": "language[]",
              "schema": [
                {
                  "name": "displayName",
                  "kind": "optional",
                  "type": "string",
                  "readOnly": true,
                  "nullable": true,
                  "description": "<p>Display name of language. Ex: English, Svenska</p>"
                },
                {
                  "name": "name",
                  "kind": "required",
                  "type": "string",
                  "nullable": true,
                  "description": "<p>Name of language. Ex: en, sv</p>"
                }
              ]
            },
            {
              "name": "masterLanguage",
              "kind": "optional",
              "type": "object",
              "readOnly": true,
              "description": "",
              "complexType": "allOf",
              "complexItems": [
                {
                  "name": "language",
                  "description": "",
                  "modelRef": "#/components/schemas/language",
                  "schema": [
                    {
                      "name": "displayName",
                      "kind": "optional",
                      "type": "string",
                      "readOnly": true,
                      "nullable": true,
                      "description": "<p>Display name of language. Ex: English, Svenska</p>"
                    },
                    {
                      "name": "name",
                      "kind": "required",
                      "type": "string",
                      "nullable": true,
                      "description": "<p>Name of language. Ex: en, sv</p>"
                    }
                  ]
                }
              ],
              "schema": []
            },
            {
              "name": "contentType",
              "kind": "required",
              "type": "array",
              "nullable": true,
              "description": "Content type of the content.",
              "example": "",
              "itemType": "string",
              "customType": "string[]",
              "itemExample": "",
              "itemDefault": ""
            },
            {
              "name": "parentLink",
              "kind": "required",
              "type": "object",
              "description": "Serializable model class for ContentReference.",
              "modelRef": "#/components/schemas/contentReference",
              "customType": "contentReference",
              "schema": [
                {
                  "name": "id",
                  "kind": "optional",
                  "type": "integer<int32>",
                  "nullable": true,
                  "description": "Id number of the content.",
                  "format": "int32"
                },
                {
                  "name": "workId",
                  "kind": "optional",
                  "type": "integer<int32>",
                  "nullable": true,
                  "description": "The version id of the content.",
                  "format": "int32"
                },
                {
                  "name": "guidValue",
                  "kind": "optional",
                  "type": "string<uuid>",
                  "nullable": true,
                  "description": "The unique identifier of the content.",
                  "format": "uuid"
                },
                {
                  "name": "providerName",
                  "kind": "optional",
                  "type": "string",
                  "nullable": true,
                  "description": "The provider name that serves the content."
                },
                {
                  "name": "url",
                  "kind": "optional",
                  "type": "string",
                  "readOnly": true,
                  "nullable": true,
                  "description": "Url of the content."
                },
                {
                  "name": "language",
                  "kind": "optional",
                  "type": "object",
                  "readOnly": true,
                  "description": "",
                  "complexType": "allOf",
                  "complexItems": [
                    {
                      "name": "language",
                      "description": "",
                      "modelRef": "#/components/schemas/language",
                      "schema": [
                        {
                          "name": "displayName",
                          "kind": "optional",
                          "type": "string",
                          "readOnly": true,
                          "nullable": true,
                          "description": "<p>Display name of language. Ex: English, Svenska</p>"
                        },
                        {
                          "name": "name",
                          "kind": "required",
                          "type": "string",
                          "nullable": true,
                          "description": "<p>Name of language. Ex: en, sv</p>"
                        }
                      ]
                    }
                  ],
                  "schema": []
                }
              ]
            },
            {
              "name": "routeSegment",
              "kind": "optional",
              "type": "string",
              "nullable": true,
              "description": "Route segment of the content."
            },
            {
              "name": "url",
              "kind": "optional",
              "type": "string",
              "readOnly": true,
              "nullable": true,
              "description": "Url of the content."
            },
            {
              "name": "changed",
              "kind": "optional",
              "type": "string<date-time>",
              "readOnly": true,
              "nullable": true,
              "description": "The date when the content was last marked as changed.",
              "format": "date-time"
            },
            {
              "name": "created",
              "kind": "optional",
              "type": "string<date-time>",
              "readOnly": true,
              "nullable": true,
              "description": "The datetime when the content was created.",
              "format": "date-time"
            },
            {
              "name": "startPublish",
              "kind": "optional",
              "type": "string<date-time>",
              "nullable": true,
              "description": "The start publish date of the content.",
              "format": "date-time"
            },
            {
              "name": "stopPublish",
              "kind": "optional",
              "type": "string<date-time>",
              "nullable": true,
              "description": "The stop publish date of the content.",
              "format": "date-time"
            },
            {
              "name": "saved",
              "kind": "optional",
              "type": "string<date-time>",
              "readOnly": true,
              "nullable": true,
              "description": "The datetime when the content was last saved.",
              "format": "date-time"
            },
            {
              "name": "status",
              "kind": "optional",
              "type": "string<Rejected | CheckedIn | CheckedOut | Published | DelayedPublish | AwaitingApproval>",
              "nullable": true,
              "description": "Status of the content.",
              "enum": [
                "Rejected",
                "CheckedIn",
                "CheckedOut",
                "Published",
                "DelayedPublish",
                "AwaitingApproval"
              ]
            }
          ],
          "modelRef": "#/components/schemas/content"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "Success",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Serializable model class for IContent exposed in the Content API.",
            "customType": "content",
            "schema": [
              {
                "name": "contentLink",
                "kind": "optional",
                "type": "object",
                "description": "Serializable model class for ContentReference.",
                "modelRef": "#/components/schemas/contentReference",
                "customType": "contentReference",
                "schema": [
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "nullable": true,
                    "description": "Id number of the content.",
                    "format": "int32"
                  },
                  {
                    "name": "workId",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "nullable": true,
                    "description": "The version id of the content.",
                    "format": "int32"
                  },
                  {
                    "name": "guidValue",
                    "kind": "optional",
                    "type": "string<uuid>",
                    "nullable": true,
                    "description": "The unique identifier of the content.",
                    "format": "uuid"
                  },
                  {
                    "name": "providerName",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "The provider name that serves the content."
                  },
                  {
                    "name": "url",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "nullable": true,
                    "description": "Url of the content."
                  },
                  {
                    "name": "language",
                    "kind": "optional",
                    "type": "object",
                    "readOnly": true,
                    "description": "",
                    "complexType": "allOf",
                    "complexItems": [
                      {
                        "name": "language",
                        "description": "",
                        "modelRef": "#/components/schemas/language",
                        "schema": [
                          {
                            "name": "displayName",
                            "kind": "optional",
                            "type": "string",
                            "readOnly": true,
                            "nullable": true,
                            "description": "<p>Display name of language. Ex: English, Svenska</p>"
                          },
                          {
                            "name": "name",
                            "kind": "required",
                            "type": "string",
                            "nullable": true,
                            "description": "<p>Name of language. Ex: en, sv</p>"
                          }
                        ]
                      }
                    ],
                    "schema": []
                  }
                ]
              },
              {
                "name": "name",
                "kind": "required",
                "type": "string",
                "nullable": true,
                "description": "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,
                    "nullable": true,
                    "description": "<p>Display name of language. Ex: English, Svenska</p>"
                  },
                  {
                    "name": "name",
                    "kind": "required",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>Name of language. Ex: en, sv</p>"
                  }
                ]
              },
              {
                "name": "existingLanguages",
                "kind": "optional",
                "type": "array",
                "readOnly": true,
                "nullable": true,
                "description": "The existing languages of the content.",
                "modelRef": "#/components/schemas/language",
                "customType": "language[]",
                "schema": [
                  {
                    "name": "displayName",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "nullable": true,
                    "description": "<p>Display name of language. Ex: English, Svenska</p>"
                  },
                  {
                    "name": "name",
                    "kind": "required",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>Name of language. Ex: en, sv</p>"
                  }
                ]
              },
              {
                "name": "masterLanguage",
                "kind": "optional",
                "type": "object",
                "readOnly": true,
                "description": "",
                "complexType": "allOf",
                "complexItems": [
                  {
                    "name": "language",
                    "description": "",
                    "modelRef": "#/components/schemas/language",
                    "schema": [
                      {
                        "name": "displayName",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "nullable": true,
                        "description": "<p>Display name of language. Ex: English, Svenska</p>"
                      },
                      {
                        "name": "name",
                        "kind": "required",
                        "type": "string",
                        "nullable": true,
                        "description": "<p>Name of language. Ex: en, sv</p>"
                      }
                    ]
                  }
                ],
                "schema": []
              },
              {
                "name": "contentType",
                "kind": "required",
                "type": "array",
                "nullable": true,
                "description": "Content type of the content.",
                "example": "",
                "itemType": "string",
                "customType": "string[]",
                "itemExample": "",
                "itemDefault": ""
              },
              {
                "name": "parentLink",
                "kind": "required",
                "type": "object",
                "description": "Serializable model class for ContentReference.",
                "modelRef": "#/components/schemas/contentReference",
                "customType": "contentReference",
                "schema": [
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "nullable": true,
                    "description": "Id number of the content.",
                    "format": "int32"
                  },
                  {
                    "name": "workId",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "nullable": true,
                    "description": "The version id of the content.",
                    "format": "int32"
                  },
                  {
                    "name": "guidValue",
                    "kind": "optional",
                    "type": "string<uuid>",
                    "nullable": true,
                    "description": "The unique identifier of the content.",
                    "format": "uuid"
                  },
                  {
                    "name": "providerName",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "The provider name that serves the content."
                  },
                  {
                    "name": "url",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "nullable": true,
                    "description": "Url of the content."
                  },
                  {
                    "name": "language",
                    "kind": "optional",
                    "type": "object",
                    "readOnly": true,
                    "description": "",
                    "complexType": "allOf",
                    "complexItems": [
                      {
                        "name": "language",
                        "description": "",
                        "modelRef": "#/components/schemas/language",
                        "schema": [
                          {
                            "name": "displayName",
                            "kind": "optional",
                            "type": "string",
                            "readOnly": true,
                            "nullable": true,
                            "description": "<p>Display name of language. Ex: English, Svenska</p>"
                          },
                          {
                            "name": "name",
                            "kind": "required",
                            "type": "string",
                            "nullable": true,
                            "description": "<p>Name of language. Ex: en, sv</p>"
                          }
                        ]
                      }
                    ],
                    "schema": []
                  }
                ]
              },
              {
                "name": "routeSegment",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "Route segment of the content."
              },
              {
                "name": "url",
                "kind": "optional",
                "type": "string",
                "readOnly": true,
                "nullable": true,
                "description": "Url of the content."
              },
              {
                "name": "changed",
                "kind": "optional",
                "type": "string<date-time>",
                "readOnly": true,
                "nullable": true,
                "description": "The date when the content was last marked as changed.",
                "format": "date-time"
              },
              {
                "name": "created",
                "kind": "optional",
                "type": "string<date-time>",
                "readOnly": true,
                "nullable": true,
                "description": "The datetime when the content was created.",
                "format": "date-time"
              },
              {
                "name": "startPublish",
                "kind": "optional",
                "type": "string<date-time>",
                "nullable": true,
                "description": "The start publish date of the content.",
                "format": "date-time"
              },
              {
                "name": "stopPublish",
                "kind": "optional",
                "type": "string<date-time>",
                "nullable": true,
                "description": "The stop publish date of the content.",
                "format": "date-time"
              },
              {
                "name": "saved",
                "kind": "optional",
                "type": "string<date-time>",
                "readOnly": true,
                "nullable": true,
                "description": "The datetime when the content was last saved.",
                "format": "date-time"
              },
              {
                "name": "status",
                "kind": "optional",
                "type": "string<Rejected | CheckedIn | CheckedOut | Published | DelayedPublish | AwaitingApproval>",
                "nullable": true,
                "description": "Status of the content.",
                "enum": [
                  "Rejected",
                  "CheckedIn",
                  "CheckedOut",
                  "Published",
                  "DelayedPublish",
                  "AwaitingApproval"
                ]
              }
            ],
            "modelRef": "#/components/schemas/content",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "201",
        "description": "Success",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "Serializable model class for IContent exposed in the Content API.",
            "customType": "content",
            "schema": [
              {
                "name": "contentLink",
                "kind": "optional",
                "type": "object",
                "description": "Serializable model class for ContentReference.",
                "modelRef": "#/components/schemas/contentReference",
                "customType": "contentReference",
                "schema": [
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "nullable": true,
                    "description": "Id number of the content.",
                    "format": "int32"
                  },
                  {
                    "name": "workId",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "nullable": true,
                    "description": "The version id of the content.",
                    "format": "int32"
                  },
                  {
                    "name": "guidValue",
                    "kind": "optional",
                    "type": "string<uuid>",
                    "nullable": true,
                    "description": "The unique identifier of the content.",
                    "format": "uuid"
                  },
                  {
                    "name": "providerName",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "The provider name that serves the content."
                  },
                  {
                    "name": "url",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "nullable": true,
                    "description": "Url of the content."
                  },
                  {
                    "name": "language",
                    "kind": "optional",
                    "type": "object",
                    "readOnly": true,
                    "description": "",
                    "complexType": "allOf",
                    "complexItems": [
                      {
                        "name": "language",
                        "description": "",
                        "modelRef": "#/components/schemas/language",
                        "schema": [
                          {
                            "name": "displayName",
                            "kind": "optional",
                            "type": "string",
                            "readOnly": true,
                            "nullable": true,
                            "description": "<p>Display name of language. Ex: English, Svenska</p>"
                          },
                          {
                            "name": "name",
                            "kind": "required",
                            "type": "string",
                            "nullable": true,
                            "description": "<p>Name of language. Ex: en, sv</p>"
                          }
                        ]
                      }
                    ],
                    "schema": []
                  }
                ]
              },
              {
                "name": "name",
                "kind": "required",
                "type": "string",
                "nullable": true,
                "description": "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,
                    "nullable": true,
                    "description": "<p>Display name of language. Ex: English, Svenska</p>"
                  },
                  {
                    "name": "name",
                    "kind": "required",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>Name of language. Ex: en, sv</p>"
                  }
                ]
              },
              {
                "name": "existingLanguages",
                "kind": "optional",
                "type": "array",
                "readOnly": true,
                "nullable": true,
                "description": "The existing languages of the content.",
                "modelRef": "#/components/schemas/language",
                "customType": "language[]",
                "schema": [
                  {
                    "name": "displayName",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "nullable": true,
                    "description": "<p>Display name of language. Ex: English, Svenska</p>"
                  },
                  {
                    "name": "name",
                    "kind": "required",
                    "type": "string",
                    "nullable": true,
                    "description": "<p>Name of language. Ex: en, sv</p>"
                  }
                ]
              },
              {
                "name": "masterLanguage",
                "kind": "optional",
                "type": "object",
                "readOnly": true,
                "description": "",
                "complexType": "allOf",
                "complexItems": [
                  {
                    "name": "language",
                    "description": "",
                    "modelRef": "#/components/schemas/language",
                    "schema": [
                      {
                        "name": "displayName",
                        "kind": "optional",
                        "type": "string",
                        "readOnly": true,
                        "nullable": true,
                        "description": "<p>Display name of language. Ex: English, Svenska</p>"
                      },
                      {
                        "name": "name",
                        "kind": "required",
                        "type": "string",
                        "nullable": true,
                        "description": "<p>Name of language. Ex: en, sv</p>"
                      }
                    ]
                  }
                ],
                "schema": []
              },
              {
                "name": "contentType",
                "kind": "required",
                "type": "array",
                "nullable": true,
                "description": "Content type of the content.",
                "example": "",
                "itemType": "string",
                "customType": "string[]",
                "itemExample": "",
                "itemDefault": ""
              },
              {
                "name": "parentLink",
                "kind": "required",
                "type": "object",
                "description": "Serializable model class for ContentReference.",
                "modelRef": "#/components/schemas/contentReference",
                "customType": "contentReference",
                "schema": [
                  {
                    "name": "id",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "nullable": true,
                    "description": "Id number of the content.",
                    "format": "int32"
                  },
                  {
                    "name": "workId",
                    "kind": "optional",
                    "type": "integer<int32>",
                    "nullable": true,
                    "description": "The version id of the content.",
                    "format": "int32"
                  },
                  {
                    "name": "guidValue",
                    "kind": "optional",
                    "type": "string<uuid>",
                    "nullable": true,
                    "description": "The unique identifier of the content.",
                    "format": "uuid"
                  },
                  {
                    "name": "providerName",
                    "kind": "optional",
                    "type": "string",
                    "nullable": true,
                    "description": "The provider name that serves the content."
                  },
                  {
                    "name": "url",
                    "kind": "optional",
                    "type": "string",
                    "readOnly": true,
                    "nullable": true,
                    "description": "Url of the content."
                  },
                  {
                    "name": "language",
                    "kind": "optional",
                    "type": "object",
                    "readOnly": true,
                    "description": "",
                    "complexType": "allOf",
                    "complexItems": [
                      {
                        "name": "language",
                        "description": "",
                        "modelRef": "#/components/schemas/language",
                        "schema": [
                          {
                            "name": "displayName",
                            "kind": "optional",
                            "type": "string",
                            "readOnly": true,
                            "nullable": true,
                            "description": "<p>Display name of language. Ex: English, Svenska</p>"
                          },
                          {
                            "name": "name",
                            "kind": "required",
                            "type": "string",
                            "nullable": true,
                            "description": "<p>Name of language. Ex: en, sv</p>"
                          }
                        ]
                      }
                    ],
                    "schema": []
                  }
                ]
              },
              {
                "name": "routeSegment",
                "kind": "optional",
                "type": "string",
                "nullable": true,
                "description": "Route segment of the content."
              },
              {
                "name": "url",
                "kind": "optional",
                "type": "string",
                "readOnly": true,
                "nullable": true,
                "description": "Url of the content."
              },
              {
                "name": "changed",
                "kind": "optional",
                "type": "string<date-time>",
                "readOnly": true,
                "nullable": true,
                "description": "The date when the content was last marked as changed.",
                "format": "date-time"
              },
              {
                "name": "created",
                "kind": "optional",
                "type": "string<date-time>",
                "readOnly": true,
                "nullable": true,
                "description": "The datetime when the content was created.",
                "format": "date-time"
              },
              {
                "name": "startPublish",
                "kind": "optional",
                "type": "string<date-time>",
                "nullable": true,
                "description": "The start publish date of the content.",
                "format": "date-time"
              },
              {
                "name": "stopPublish",
                "kind": "optional",
                "type": "string<date-time>",
                "nullable": true,
                "description": "The stop publish date of the content.",
                "format": "date-time"
              },
              {
                "name": "saved",
                "kind": "optional",
                "type": "string<date-time>",
                "readOnly": true,
                "nullable": true,
                "description": "The datetime when the content was last saved.",
                "format": "date-time"
              },
              {
                "name": "status",
                "kind": "optional",
                "type": "string<Rejected | CheckedIn | CheckedOut | Published | DelayedPublish | AwaitingApproval>",
                "nullable": true,
                "description": "Status of the content.",
                "enum": [
                  "Rejected",
                  "CheckedIn",
                  "CheckedOut",
                  "Published",
                  "DelayedPublish",
                  "AwaitingApproval"
                ]
              }
            ],
            "modelRef": "#/components/schemas/content",
            "isExpanded": true
          }
        ]
      },
      {
        "statusCode": "400",
        "description": "Bad Request",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "403",
        "description": "Forbidden",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "409",
        "description": "Conflict",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "415",
        "description": "Client Error",
        "jsonExample": "",
        "isExpanded": true
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "IIcrkV4CWGB8CC4MijYZ2",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request PUT \\\n     --url '/api/episerver/v3.0/contentmanagement/{contentGuid}?content={%22contentLink%22%3A{%22language%22%3A{}}%2C%22name%22%3A%22string%22%2C%22language%22%3A{%22name%22%3A%22string%22}%2C%22existingLanguages%22%3A[{%22name%22%3A%22string%22}]%2C%22masterLanguage%22%3A{}%2C%22contentType%22%3A[]%2C%22parentLink%22%3A{%22language%22%3A{}}}' \\\n     --header 'accept: application/json' \\\n     --header 'x-epi-validation-mode: object' \\\n     --header 'x-epi-parent-location-rule: object'"
        },
        {
          "id": "scwBFSOqLyQvwH2PBN7PI",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\nmyHeaders.append(\"x-epi-validation-mode\", \"object\");\nmyHeaders.append(\"x-epi-parent-location-rule\", \"object\");\n\nvar requestOptions = {\n   method: 'PUT',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"/api/episerver/v3.0/contentmanagement/{contentGuid}?content={\\\"contentLink\\\":{\\\"language\\\":{}},\\\"name\\\":\\\"string\\\",\\\"language\\\":{\\\"name\\\":\\\"string\\\"},\\\"existingLanguages\\\":[{\\\"name\\\":\\\"string\\\"}],\\\"masterLanguage\\\":{},\\\"contentType\\\":[],\\\"parentLink\\\":{\\\"language\\\":{}}}\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "mCnl-L9K0YuOpthCpvuRK",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"/api/episerver/v3.0/contentmanagement/{contentGuid}?content={\\\"contentLink\\\":{\\\"language\\\":{}},\\\"name\\\":\\\"string\\\",\\\"language\\\":{\\\"name\\\":\\\"string\\\"},\\\"existingLanguages\\\":[{\\\"name\\\":\\\"string\\\"}],\\\"masterLanguage\\\":{},\\\"contentType\\\":[],\\\"parentLink\\\":{\\\"language\\\":{}}}\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Put.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest[\"x-epi-validation-mode\"] = \"object\"\nrequest[\"x-epi-parent-location-rule\"] = \"object\"\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "huegP1HZ5BdKV2N79qs1s",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"/api/episerver/v3.0/contentmanagement/{contentGuid}?content={\\\"contentLink\\\":{\\\"language\\\":{}},\\\"name\\\":\\\"string\\\",\\\"language\\\":{\\\"name\\\":\\\"string\\\"},\\\"existingLanguages\\\":[{\\\"name\\\":\\\"string\\\"}],\\\"masterLanguage\\\":{},\\\"contentType\\\":[],\\\"parentLink\\\":{\\\"language\\\":{}}}\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json',\n   'x-epi-validation-mode': 'object',\n   'x-epi-parent-location-rule': 'object'\n}\n\nresponse = requests.request(\"PUT\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "IIcrkV4CWGB8CC4MijYZ2"
    },
    "results": {
      "languages": [
        {
          "id": "response-0-200",
          "language": "200",
          "code": "// Success\n{\n  \"contentLink\": {\n    \"id\": \"\",\n    \"workId\": \"\",\n    \"guidValue\": \"\",\n    \"providerName\": \"\",\n    \"url\": \"\",\n    \"language\": {}\n  },\n  \"name\": \"\",\n  \"language\": {\n    \"displayName\": \"\",\n    \"name\": \"\"\n  },\n  \"existingLanguages\": [\n    {\n      \"displayName\": \"\",\n      \"name\": \"\"\n    }\n  ],\n  \"masterLanguage\": {},\n  \"contentType\": [\n    \"\"\n  ],\n  \"parentLink\": {\n    \"id\": \"\",\n    \"workId\": \"\",\n    \"guidValue\": \"\",\n    \"providerName\": \"\",\n    \"url\": \"\",\n    \"language\": {}\n  },\n  \"routeSegment\": \"\",\n  \"url\": \"\",\n  \"changed\": \"\",\n  \"created\": \"\",\n  \"startPublish\": \"\",\n  \"stopPublish\": \"\",\n  \"saved\": \"\",\n  \"status\": \"\"\n}"
        },
        {
          "id": "response-1-201",
          "language": "201",
          "code": "// Success\n{\n  \"contentLink\": {\n    \"id\": \"\",\n    \"workId\": \"\",\n    \"guidValue\": \"\",\n    \"providerName\": \"\",\n    \"url\": \"\",\n    \"language\": {}\n  },\n  \"name\": \"\",\n  \"language\": {\n    \"displayName\": \"\",\n    \"name\": \"\"\n  },\n  \"existingLanguages\": [\n    {\n      \"displayName\": \"\",\n      \"name\": \"\"\n    }\n  ],\n  \"masterLanguage\": {},\n  \"contentType\": [\n    \"\"\n  ],\n  \"parentLink\": {\n    \"id\": \"\",\n    \"workId\": \"\",\n    \"guidValue\": \"\",\n    \"providerName\": \"\",\n    \"url\": \"\",\n    \"language\": {}\n  },\n  \"routeSegment\": \"\",\n  \"url\": \"\",\n  \"changed\": \"\",\n  \"created\": \"\",\n  \"startPublish\": \"\",\n  \"stopPublish\": \"\",\n  \"saved\": \"\",\n  \"status\": \"\"\n}"
        },
        {
          "id": "response-2-400",
          "language": "400",
          "code": "// Bad Request\n"
        },
        {
          "id": "response-3-403",
          "language": "403",
          "code": "// Forbidden\n"
        },
        {
          "id": "response-4-409",
          "language": "409",
          "code": "// Conflict\n"
        },
        {
          "id": "response-5-415",
          "language": "415",
          "code": "// Client Error\n"
        }
      ],
      "selectedLanguageId": "response-0-200"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}