---
title: "Sort sections"
method: POST
path: "/api/v1/sections/sort"
tags: ["Sections"]
---

# Sort sections

`POST /api/v1/sections/sort`

Change the arrangement of sections on a Labguru page

## Request body

- MoveSection
  - `token` string, required
  - `container_id` integer, required — The ID of the container
  - `container_type` string, required — The container type of the section
  - `list` integer[], required — An array of section IDs.<br> The order of IDs in this list defines the new arrangement of sections on the page

## Response `201`

section moved

## Other responses

- `401` — Error: Unauthorized
- `422` — container_type cannot be blank

---

[API](https://skmtc.net/labguru/apis/labguru-api.md) · [All operations](https://skmtc.net/labguru/apis/labguru-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/labguru/labguru-api/revisions/0534e4d70b77/schema)
