---
title: "Update static content"
method: PUT
path: "/static-content/{id}"
tags: ["static-content"]
---

# Update static content

`PUT /static-content/{id}`

Update existing static content

## Path parameters

- `id` number, required

## Request body

- UpdateStaticContentDto
  - `title` string — Content title
  - `slug` string — URL-friendly slug (auto-generated from title if not provided)
  - `description` string — Content description/summary
  - `category` string — Content category
  - `content` string — HTML formatted content (supports text, tables, links, formatting)
  - `languageType` 'BM' | 'EN' — Language type
  - `is_published` boolean — Publish status
  - `author` string — Author name
  - `metadata` object — Additional metadata (SEO, tags, etc.)

## Response `200`

Content updated

- StaticContentResponseDto
  - `content_id` number, required — Content ID
  - `title` string, required — Title
  - `slug` string, required — URL slug
  - `description` string, required — Description
  - `category` string, required — Category
  - `content` string, required — HTML content
  - `languageType` string, required — Language
  - `is_published` boolean, required — Published status
  - `published_at` string, date-time — Published date
  - `author` string — Author
  - `metadata` object — Metadata
  - `view_count` number, required — View count
  - `created_at` string, date-time, required — Created date
  - `updated_at` string, date-time, required — Last updated date

## Other responses

- `404` — Content not found
- `409` — Slug already exists

---

[API](https://skmtc.dev/tonewow/apis/tonewow-database-api.md) · [All operations](https://skmtc.dev/tonewow/apis/tonewow-database-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tonewow/tonewow-database-api/revisions/f36472974ad4/schema)
