---
title: "Update a section"
method: PATCH
path: "/v1/knowledge-base/sections/{id}"
tags: ["Knowledge Center"]
---

# Update a section

`PATCH /v1/knowledge-base/sections/{id}`

## Request

- Base URL: `https://api.vidocu.ai`
- URL: `https://api.vidocu.ai/v1/knowledge-base/sections/{id}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2 (authorization code, authorization URL `https://vidocu.ai/oauth/authorize`, token URL `https://api.vidocu.ai/oauth/token`)

**Scope:** `knowledge_base:write`

**Role permission:** `canEdit` (OAuth only — API keys carry full workspace permissions)

## Path parameters

- `id` string, required

## Request body

- object
  - `name` string
  - `slug` string
  - `description` string, nullable
  - `thumbnailUrl` string, uri, nullable: Publicly reachable image URL shown on the section's card. Square or 16:9 depending on the knowledge base's thumbnail setting.
  - `visibility` 'public' | 'staff' | 'customers'
  - `position` integer
  - `parentId` string, nullable: Id of a top-level section to nest under. null (or omitted) makes this a top-level section. One level deep only.
  - `translations` object: Section name and description in other languages, keyed by locale code (e.g. {"fr": {"name": "Premiers pas"}}). Only the knowledge base's enabled, non-default locales. On update, locales you leave out are kept and null removes one. A missing field falls back to the main-language text.
  - `sharedWith` object, nullable: Share a top-level section with outside readers on a gated knowledge base: they sign in and see only the sections shared with them. The knowledge base's own access list keeps full access. null or empty lists stop sharing. Sub-sections follow their parent and cannot be shared themselves.
    - `emailDomains` string[]
    - `emails` string[]
  - `publishers` object, nullable: Restrict who may create, move or publish articles in this section to these workspace members (user ids). Owners and admins always may, so an empty list means owners and admins only. null removes the restriction. A sub-section without its own list follows its parent. Only owners and admins can read or change it.
    - `userIds` string[], required

## Response `200`

Success

## Other responses

- `400`: Validation error
- `401`: Invalid or missing credentials
- `403`: Missing scope (`insufficient_scope`), insufficient role (`insufficient_role`), or quota exhausted (`limit_exceeded`)
- `404`: Not found
- `429`: Rate limit exceeded (60 req/min)
- `500`: Server error

---

[API](https://skmtc.dev/vidocu/apis/vidocu-api.md) · [All operations](https://skmtc.dev/vidocu/apis/vidocu-api/llms.txt) · [OpenAPI document](https://skmtc.dev/vidocu/apis/vidocu-api/revisions/cc813d2ca5d2?raw)
