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

# Update Content item

`PUT /content-item/{id}`

## Request

- Base URL: `https://sdukstudio.com/api`
- URL: `https://sdukstudio.com/api/content-item/{id}`
- Auth: HTTP bearer

## Request body

- ContentItemInput
  - `title` string, required
  - `status` 'idea' | 'planned' | 'drafted' | 'staging' | 'published', required
  - `target_keyword` string
  - `brief` string
  - `category_id` integer
  - `post_id` integer

## Response `200`

The updated Content item

- ContentItem
  - `content_item_id` integer
  - `title` string
  - `status` 'idea' | 'planned' | 'drafted' | 'staging' | 'published'
  - `target_keyword` string
  - `brief` string
  - `category_id` integer
  - `post_id` integer
  - `created_at` string, date-time
  - `updated_at` string, date-time
  - `deleted_at` string, date-time, nullable

## Other responses

- `400`: Validation error
- `404`: Not found

---

[API](https://skmtc.dev/sdukstudio/apis/sduk-studio-info-site-api.md) · [All operations](https://skmtc.dev/sdukstudio/apis/sduk-studio-info-site-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sdukstudio/apis/sduk-studio-info-site-api/revisions/d7877b33dad3?raw)
