latestOpenAPI 3.0.02026-08-10330179317.3 KB

0534e4d70b77

Elements

Rearrange elements

This endpoint enables you to change the order of elements within a chosen section.

post/api/v1/elements/sort

Request body

tokenstring required
container_idinteger required

The ID of the section in which the element will be rearranged

container_typestring required

The type of container in which the elements will be rearranged

listinteger[] required

An array of element IDs that determines the new order in which the elements will be rearranged

Example request

{
  "token": "YOUR TOKEN IS HERE",
  "list": [
    112,
    110,
    111
  ]
}

Response

OK