---
updatedAt: 2025-06-05T22:00:05.000Z
agentTools:
  projectIndex: https://sportnginsite.readme.io/llms.txt
---

# Layout Containers Move

The Move method _moves_ the Layout Container into the specified [Content Node](https://sportnginsite.readme.io/docs/content-node).

###Parameters

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.sportngin.com"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/layout_containers/:id/move": {
      "post": {
        "summary": "Layout Containers Move",
        "description": "The Move method _moves_ the Layout Container into the specified [Content Node](https://sportnginsite.readme.io/docs/content-node).\n\n###Parameters",
        "operationId": "layout-containers-move",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "site_id",
                  "content_node_id"
                ],
                "properties": {
                  "site_id": {
                    "type": "integer",
                    "description": "ID of site the layout_container belongs to",
                    "format": "int32"
                  },
                  "content_node_id": {
                    "type": "integer",
                    "format": "int32"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"id\": 21906459,\n    \"content_node_id\": 19546653,\n    \"layout_type\": \"twoColumn5050\",\n    \"locked\": false,\n    \"position\": 2,\n    \"created_at\": \"2016-02-24T06:32:29-06:00\",\n    \"updated_at\": \"2016-05-02T14:50:47-05:00\",\n    \"custom_css_class\": \"\",\n    \"mirror_target_id\": null,\n    \"name\": \"\",\n    \"layout_columns\": [\n        {\n            \"id\": 26627518,\n            \"layout_container_id\": 21906459,\n            \"position\": 1,\n            \"page_elements\": [\n                {\n                    \"id\": 311818188,\n                    \"element_type\": \"TextBlock\",\n                    \"element_id\": 5848921,\n                    \"position\": 1,\n                    \"updated_on\": \"2016-05-02T14:41:53-05:00\",\n                    \"created_on\": \"2016-05-02T14:41:53-05:00\",\n                    \"element_locked\": false,\n                    \"content_locked\": false,\n                    \"layout_column_id\": 26627518,\n                    \"mirror_enabled\": false,\n                    \"custom_css_class\": \"\",\n                    \"question_element_dependency_type\": \"any\",\n                    \"element\": {\n                        \"id\": 5848921,\n                        \"subtitle\": \"jijihuhyg\",\n                        \"content\": \"<p>hugtfrdrtdcgvbhbjnkml  </p>\\r\\n\\r\\n<p> </p>\\r\\n\\r\\n<p>njn</p>\\r\\n\",\n                        \"updated_on\": \"2016-05-02T14:41:53-05:00\",\n                        \"created_on\": \"2016-05-02T14:41:53-05:00\",\n                        \"display_size\": \"small\",\n                        \"alignment\": \"left\",\n                        \"url\": \"\",\n                        \"protocol\": \"http://\",\n                        \"has_url\": false,\n                        \"action\": \"1\",\n                        \"image_id\": null,\n                        \"created_without_fck\": false,\n                        \"subtitle_alignment\": \"left\",\n                        \"cutline\": \"\",\n                        \"thumbnails\": {}\n                    }\n                },\n                {\n                    \"id\": 311769232,\n                    \"element_type\": \"Photo\",\n                    \"element_id\": 2163125,\n                    \"position\": 2,\n                    \"updated_on\": \"2016-05-02T14:37:41-05:00\",\n                    \"created_on\": \"2016-04-26T14:14:20-05:00\",\n                    \"element_locked\": false,\n                    \"content_locked\": false,\n                    \"layout_column_id\": 26627518,\n                    \"mirror_enabled\": null,\n                    \"custom_css_class\": null,\n                    \"question_element_dependency_type\": \"any\",\n                    \"element\": {\n                        \"id\": 2163125,\n                        \"caption\": null,\n                        \"updated_on\": \"2016-04-26T14:14:20-05:00\",\n                        \"created_on\": \"2016-04-26T14:14:20-05:00\",\n                        \"url\": null,\n                        \"protocol\": null,\n                        \"has_url\": 0,\n                        \"action\": null,\n                        \"image_id\": 63695164,\n                        \"show_original\": false,\n                        \"enlargeable\": false,\n                        \"cutline\": \"We are the Elf Owls\",\n                        \"thumbnails\": {\n                            \"large\": \"/attachments/photo/6369/5164/SnowyOwlLanding_large.jpg\",\n                            \"medium\": \"/attachments/photo/6369/5164/SnowyOwlLanding_medium.jpg\",\n                            \"small\": \"/attachments/photo/6369/5164/SnowyOwlLanding_small.jpg\",\n                            \"thumb\": \"/attachments/photo/6369/5164/SnowyOwlLanding_thumb.jpg\"\n                        }\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 28644672,\n            \"layout_container_id\": 21906459,\n            \"position\": 2,\n            \"page_elements\": []\n        }\n    ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 21906459,
                      "default": 0
                    },
                    "content_node_id": {
                      "type": "integer",
                      "example": 19546653,
                      "default": 0
                    },
                    "layout_type": {
                      "type": "string",
                      "example": "twoColumn5050"
                    },
                    "locked": {
                      "type": "boolean",
                      "example": false,
                      "default": true
                    },
                    "position": {
                      "type": "integer",
                      "example": 2,
                      "default": 0
                    },
                    "created_at": {
                      "type": "string",
                      "example": "2016-02-24T06:32:29-06:00"
                    },
                    "updated_at": {
                      "type": "string",
                      "example": "2016-05-02T14:50:47-05:00"
                    },
                    "custom_css_class": {
                      "type": "string",
                      "example": ""
                    },
                    "mirror_target_id": {},
                    "name": {
                      "type": "string",
                      "example": ""
                    },
                    "layout_columns": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "id": {
                            "type": "integer",
                            "example": 26627518,
                            "default": 0
                          },
                          "layout_container_id": {
                            "type": "integer",
                            "example": 21906459,
                            "default": 0
                          },
                          "position": {
                            "type": "integer",
                            "example": 1,
                            "default": 0
                          },
                          "page_elements": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "properties": {
                                "id": {
                                  "type": "integer",
                                  "example": 311818188,
                                  "default": 0
                                },
                                "element_type": {
                                  "type": "string",
                                  "example": "TextBlock"
                                },
                                "element_id": {
                                  "type": "integer",
                                  "example": 5848921,
                                  "default": 0
                                },
                                "position": {
                                  "type": "integer",
                                  "example": 1,
                                  "default": 0
                                },
                                "updated_on": {
                                  "type": "string",
                                  "example": "2016-05-02T14:41:53-05:00"
                                },
                                "created_on": {
                                  "type": "string",
                                  "example": "2016-05-02T14:41:53-05:00"
                                },
                                "element_locked": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                },
                                "content_locked": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                },
                                "layout_column_id": {
                                  "type": "integer",
                                  "example": 26627518,
                                  "default": 0
                                },
                                "mirror_enabled": {
                                  "type": "boolean",
                                  "example": false,
                                  "default": true
                                },
                                "custom_css_class": {
                                  "type": "string",
                                  "example": ""
                                },
                                "question_element_dependency_type": {
                                  "type": "string",
                                  "example": "any"
                                },
                                "element": {
                                  "type": "object",
                                  "properties": {
                                    "id": {
                                      "type": "integer",
                                      "example": 5848921,
                                      "default": 0
                                    },
                                    "subtitle": {
                                      "type": "string",
                                      "example": "jijihuhyg"
                                    },
                                    "content": {
                                      "type": "string",
                                      "example": "<p>hugtfrdrtdcgvbhbjnkml  </p>\r\n\r\n<p> </p>\r\n\r\n<p>njn</p>\r\n"
                                    },
                                    "updated_on": {
                                      "type": "string",
                                      "example": "2016-05-02T14:41:53-05:00"
                                    },
                                    "created_on": {
                                      "type": "string",
                                      "example": "2016-05-02T14:41:53-05:00"
                                    },
                                    "display_size": {
                                      "type": "string",
                                      "example": "small"
                                    },
                                    "alignment": {
                                      "type": "string",
                                      "example": "left"
                                    },
                                    "url": {
                                      "type": "string",
                                      "example": ""
                                    },
                                    "protocol": {
                                      "type": "string",
                                      "example": "http://"
                                    },
                                    "has_url": {
                                      "type": "boolean",
                                      "example": false,
                                      "default": true
                                    },
                                    "action": {
                                      "type": "string",
                                      "example": "1"
                                    },
                                    "image_id": {},
                                    "created_without_fck": {
                                      "type": "boolean",
                                      "example": false,
                                      "default": true
                                    },
                                    "subtitle_alignment": {
                                      "type": "string",
                                      "example": "left"
                                    },
                                    "cutline": {
                                      "type": "string",
                                      "example": ""
                                    },
                                    "thumbnails": {
                                      "type": "object",
                                      "properties": {}
                                    }
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false,
        "x-readme": {
          "code-samples": [
            {
              "language": "curl",
              "code": "curl -X PUT -H \"NGIN-API-VERSION: 0.1\" -H \"Authorization: Bearer ACCESS_TOKEN  \" -H \"Accept: application/json\" -H \"Content-Type: application/json\" -d '{\n    \"content_node_id\": 19546653\n}' \"https://api.sportngin.com/layout_containers/21906459/move?site_id=11953\""
            },
            {
              "language": "ruby",
              "code": "require 'uri'\nrequire 'net/http'\n\nurl = URI(\"https://api.sportngin.com/layout_containers/21906459/move?site_id=11953\")\n\nhttp = Net::HTTP.new(url.host, url.port)\nhttp.use_ssl = true\nhttp.verify_mode = OpenSSL::SSL::VERIFY_NONE\n\nrequest = Net::HTTP::Put.new(url)\nrequest[\"ngin-api-version\"] = '0.1'\nrequest[\"authorization\"] = 'Bearer ACCESS_TOKEN'\nrequest[\"accept\"] = 'application/json'\nrequest[\"content-type\"] = 'application/json'\nrequest.body = \"{\\n    \\\"content_node_id\\\": 19546653\\n}\"\n\nresponse = http.request(request)\nputs response.read_body"
            },
            {
              "language": "java",
              "code": "OkHttpClient client = new OkHttpClient();\n\nMediaType mediaType = MediaType.parse(\"application/json\");\nRequestBody body = RequestBody.create(mediaType, \"{\\n    \\\"content_node_id\\\": 19546653\\n}\");\nRequest request = new Request.Builder()\n  .url(\"https://api.sportngin.com/layout_containers/21906459/move?site_id=11953\")\n  .put(body)\n  .addHeader(\"ngin-api-version\", \"0.1\")\n  .addHeader(\"authorization\", \"Bearer ACCESS_TOKEN\")\n  .addHeader(\"accept\", \"application/json\")\n  .addHeader(\"content-type\", \"application/json\")\n  .build();\n\nResponse response = client.newCall(request).execute();"
            }
          ],
          "samples-languages": [
            "curl",
            "ruby",
            "java"
          ]
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```