# PATCH `/api/public/articles/{idOrSlug}`

> Part of the `Buuk Public API` API reference.

**Update an article**

Base URL: `https://app.getbuuk.com`

## Authentication

Authentication:
  - `bearerAuth` — HTTP BEARER

## Parameters

- `idOrSlug` — string (path, required)

## Request body

Content type: `application/json`

Request body (required):

- `slug` — string
- `title` — string
- `status` — string — enum: "draft" | "published" | "archived"
- `visibility` — string — enum: "everywhere" | "unlisted" | "hidden" | "ai_only"
- `contentMarkdown` — string

## Responses

### 200 — Updated article

### 403 — Read-only token

---

View in browser: /help/demo/reference/a25116fa-98e5-478e-93ba-583bedbde3ad
Generated from the `Buuk Public API` reference for `demo`.