---
title: "Update section"
method: PUT
path: "/api/v1/sections/{id}"
tags: ["Sections"]
---

# Update section

`PUT /api/v1/sections/{id}`

## Path parameters

- `id` integer, required

## Request body

- UpdateSection
  - `token` string, required
  - `item` object
    - `name` string — the name of the section
    - `container_id` integer — The ID of the experiment/protocol/report the section belongs to
    - `container_type` string — the type of the container - Projects::Experiment\Knowledgebase::Protocol\Knowledgebase::Report
    - `position` integer — the section position

## Response `200`

section updated

## Other responses

- `401` — Error: Unauthorized
- `422` — container_id 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)
