Move header element

Moves the specified header element to a new parent and/or position. parent_id is required; next_sibling_id places the element before that sibling (omit to append at the end).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

The Page Elements v2 API supports Flex/Editor 2.0 sites only, not Classic Editor sites. Requests against Classic sites return HTTP 400: Page elements are only supported for flex sites.

Path Params
string
required

The site's unique name (its ID), returned when the site is created.

string
required

The element's ID, returned when you list the page's, header's or footer's elements.

Body Params
string

Optional id of the sibling to place this element immediately before. Null appends at the end of parent_id.

string
required
length ≥ 1

Id of the destination parent container. Required even when reordering within the current parent. For sections, pass body on page endpoints, footer on footer endpoints, or header/hamburger_menu on header endpoints.

Responses

405

Method Not Allowed

500

Internal Server Error

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json