---
title: Moves a content from its current location to another location.
slug: cms-12/api/v0uy-moves-a-content-from-its-current-location-to-another-location
docTags: 
createdAt: 2026-08-28T13:16:06.833Z
---

{
  "id": "PDckEcvoQ9DFJX9uS62kT",
  "type": "api-oas-v2",
  "data": {
    "method": "POST",
    "url": "/api/episerver/v3.0/contentmanagement/{contentIdentifier}/move",
    "servers": [],
    "name": "Moves a content from its current location to another location.",
    "description": "",
    "contentType": "application/json",
    "request": {
      "pathParameters": [
        {
          "kind": "required",
          "name": "contentIdentifier",
          "type": "string",
          "description": "The content reference or unique identifier of the content item that should be moved."
        }
      ],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/problem+json"
          ],
          "default": "application/problem+json"
        },
        {
          "kind": "optional",
          "name": "x-epi-parent-location-rule",
          "type": "object",
          "description": "Specifies location rule to move content directly under parent or under parent's asset folder.",
          "customType": "parentLocationRule",
          "schema": [],
          "modelRef": "#/components/schemas/parentLocationRule"
        }
      ],
      "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>",
                  "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": []
                }
              ]
            }
          ],
          "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": "CKIUIWJeZjVXtqX53oUBx",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request POST \\\n     --url /api/episerver/v3.0/contentmanagement/{contentIdentifier}/move \\\n     --header 'accept: application/problem+json' \\\n     --header 'content-type: application/json' \\\n     --header 'x-epi-parent-location-rule: object' \\\n     --data '{\n     \"parentLink\": {\n     \"language\": {\n     \"name\": \"\"\n     }\n     }\n     }'"
        },
        {
          "id": "l97h9JFLIwjNPb2CHoT8t",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/problem+json\");\nmyHeaders.append(\"content-type\", \"application/json\");\nmyHeaders.append(\"x-epi-parent-location-rule\", \"object\");\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(\"/api/episerver/v3.0/contentmanagement/{contentIdentifier}/move\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "mdzArbYMu0IiBCTUYl4L6",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"/api/episerver/v3.0/contentmanagement/{contentIdentifier}/move\")\n\nhttp = Net::HTTP.new(url.host, url.port);\nrequest = Net::HTTP::Post.new(url)\nrequest[\"accept\"] = \"application/problem+json\"\nrequest[\"content-type\"] = \"application/json\"\nrequest[\"x-epi-parent-location-rule\"] = \"object\"\nrequest.body = JSON.dump({\n   \"parentLink\": {\n      \"language\": {\n         \"name\": \"\"\n      }\n   }\n})\n\nresponse = http.request(request)\nputs response.read_body\n"
        },
        {
          "id": "SX3NyrZ5yzZv4Wyu3Q9HK",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"/api/episerver/v3.0/contentmanagement/{contentIdentifier}/move\"\n\npayload = json.dumps({\n   \"parentLink\": {\n      \"language\": {\n         \"name\": \"\"\n      }\n   }\n})\nheaders = {\n   'accept': 'application/problem+json',\n   'content-type': 'application/json',\n   'x-epi-parent-location-rule': 'object'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "CKIUIWJeZjVXtqX53oUBx"
    },
    "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": ""
    }
  ]
}