---
title: Move a content from its current location to another location.
slug: cms-12/api/01zw-move-a-content-from-its-current-location-to-another-location
docTags: 
createdAt: 2026-08-28T13:16:06.833Z
---

{
  "id": "L5VE-idS1z2o-KM-sArjX",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentGuid}/move",
    "servers": [
      {
        "url": "http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentGuid}/move"
      }
    ],
    "name": "Move a content from its current location to another location.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "contentGuid",
          "type": "string<uuid>",
          "description": "The unique identifier of the content item that should be moved.",
          "format": "uuid"
        }
      ],
      "headerParameters": [],
      "queryParameters": [],
      "bodyDataParameters": [
        {
          "kind": "required",
          "name": "body",
          "type": "object",
          "description": "Options describing where the content item should be moved to.",
          "customType": "moveOptions",
          "schema": [
            {
              "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>",
                  "description": "Id number of the content.",
                  "format": "int32"
                },
                {
                  "name": "workId",
                  "kind": "optional",
                  "type": "integer<int32>",
                  "description": "The version id of the content.",
                  "format": "int32"
                },
                {
                  "name": "guidValue",
                  "kind": "optional",
                  "type": "string<uuid>",
                  "description": "The unique identifier of the content.",
                  "example": "00000000-0000-0000-0000-000000000000",
                  "format": "uuid"
                },
                {
                  "name": "providerName",
                  "kind": "optional",
                  "type": "string",
                  "description": "The provider name that serves the content."
                },
                {
                  "name": "url",
                  "kind": "optional",
                  "type": "string",
                  "readOnly": 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,
                          "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>"
                        }
                      ]
                    }
                  ],
                  "schema": []
                }
              ]
            }
          ],
          "modelRef": "#/components/schemas/moveOptions",
          "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": "lgUV6IFMWqdcNMgodyDn1",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentGuid}/move \\\n     --header 'accept: application/json' \\\n     --header 'content-type: application/json' \\\n     --data '{\n     \"parentLink\": {\n     \"language\": {\n     \"name\": \"\"\n     }\n     }\n     }'"
        },
        {
          "id": "pdCqzl8snMX9Y0Btb6H6C",
          "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   \"parentLink\": {\n      \"language\": {\n         \"name\": \"\"\n      }\n   }\n});\n\nvar requestOptions = {\n   method: 'POST',\n   headers: myHeaders,\n   body: raw,\n   redirect: 'follow'\n};\n\nfetch(\"http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentGuid}/move\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "Bai-XFn2_90cmWmqRnYr6",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentGuid}/move\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest.body = JSON.dump({\n   \"parentLink\": {\n      \"language\": {\n         \"name\": \"\"\n      }\n   }\n})\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "bj4GSUoVxwDVP9K8-aT49",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"http://localhost:53035/api/episerver/v2.0/contentmanagement/{contentGuid}/move\"\n\npayload = json.dumps({\n   \"parentLink\": {\n      \"language\": {\n         \"name\": \"\"\n      }\n   }\n})\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "lgUV6IFMWqdcNMgodyDn1"
    },
    "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": ""
    }
  ]
}