---
title: "Настроить раздел Project Hub"
method: PATCH
path: "/api/v1/tasks/hub/sections/{id}"
tags: ["Tasks"]
---

# Настроить раздел Project Hub

`PATCH /api/v1/tasks/hub/sections/{id}`

## Request

- Base URL: `https://erp.akeda.ru`
- URL: `https://erp.akeda.ru/api/v1/tasks/hub/sections/{id}`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Api-Key`
  - OAuth 2 (authorization code, authorization URL `https://erp.akeda.ru/oauth2/authorize`, token URL `https://erp.akeda.ru/oauth2/token`, scopes: `akeda:delegate`)
  - HTTP bearer

Настраивает указанный раздел Project Hub.

## Request body

- HubSectionUpdate
  - `title` string
  - `icon` string
  - `sort_order` integer
  - `is_enabled` boolean
  - `visibility` 'team' | 'client'

## Response `200`

Обновлённый раздел

- HubSection
  - `id` string, uuid, required
  - `project_id` string, uuid, required
  - `kind` 'overview' | 'journal' | 'roadmap' | 'meetings' | 'files' | 'secrets', required
  - `title` string, required
  - `icon` string, required
  - `sort_order` integer, required
  - `is_enabled` boolean, required
  - `visibility` 'team' | 'client', required
  - `created_at` string, required
  - `updated_at` string, required

## Other responses

- `400`: Некорректный запрос или нарушение бизнес-правила
- `401`: Сессия, ключ или кабинет не подтверждены
- `403`: Текущая роль не имеет требуемого права
- `404`: Запись не найдена или не видима текущему пользователю

---

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