---
title: "Update a KB article."
method: PUT
path: "/api/v1/it/kb/articles/{article_id}"
tags: ["IT Service Management"]
---

# Update a KB article.

`PUT /api/v1/it/kb/articles/{article_id}`

## Request

- Base URL: `https://erp.eyeot.fr/api/v1`
- URL: `https://erp.eyeot.fr/api/v1/api/v1/it/kb/articles/{article_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

**Permissions requises** : `it:write`

## Request body

- KBArticleUpdate
  - `category_id` string, uuid, nullable
  - `content` string
  - `excerpt` string, nullable
  - `kb_category` 'hardware' | 'software' | 'network' | 'security' | 'faq' | 'procedure' | 'troubleshooting' | 'other'
  - `status` 'DRAFT' | 'REVIEW' | 'PUBLISHED' | 'REJECTED' | 'ARCHIVED'
  - `tags` string[]
  - `title` string
  - `visibility` 'INTERNAL' | 'PUBLIC'

## Response `200`

Succès — payload `{data, meta}` (cf. API-GUIDE §3.1)

- object
  - `data` KBArticleDetail
    - `approved_at` string, date-time, nullable
    - `approved_by_id` string, uuid, nullable
    - `author_id` string, uuid
    - `author_name` unknown
    - `category_id` string, uuid, nullable
    - `category_name` unknown
    - `content` string
    - `created_at` string, date-time
    - `excerpt` string, nullable
    - `helpful_count` integer
    - `id` string, uuid
    - `kb_category` string, nullable
    - `not_helpful_count` integer
    - `published_at` string, date-time, nullable
    - `rejection_reason` string, nullable
    - `related_tickets_count` integer
    - `reviewer_id` string, uuid, nullable
    - `slug` string
    - `status` string
    - `tags` string[]
    - `title` string
    - `updated_at` string, date-time
    - `view_count` integer
    - `visibility` string
  - `meta` PaginationMeta: Métadonnées de pagination cursor (cf. API-GUIDE §6).
    - `limit` integer
    - `next_cursor` string, nullable
    - `prev_cursor` string, nullable
    - `total_count` integer

## Other responses

- `400`: Validation Marshmallow échouée. `errors` détaille chaque champ invalide.
- `401`: JWT manquant, expiré ou révoqué.
- `402`: L'organisation n'a pas d'abonnement actif (paywall). Rediriger vers /activate.
- `403`: Permissions `module:action` insuffisantes pour cette route.
- `404`: Ressource introuvable (ou cross-tenant — équivalent à hidden).
- `409`: État incohérent (email dupliqué, ressource déjà dans cet état, etc.).
- `422`: Validation Marshmallow échouée. `errors` détaille chaque champ invalide.
- `429`: Trop de requêtes. Honorer le header `Retry-After` (secondes).

---

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