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

# Update content

`PUT /content/{id}`

## Request

- Base URL: `https://next.frase.io/api/v1`
- URL: `https://next.frase.io/api/v1/content/{id}`
- Auth: one of:
  - API key in header `X-API-KEY`
  - HTTP bearer

Update content title, body, or metadata.

## Path parameters

- `id` string, uuid, required

## Request body

- object
  - `title` string
  - `body` string
  - `status` 'draft' | 'review' | 'published' | 'archived'
  - `meta_title` string
  - `meta_description` string
  - `target_keywords` string[], nullable: Replaces the article's keywords. null or [] clears them; omit the field to leave them alone. Beyond 25 the list is truncated and the stored result is echoed back.

## Response `200`

Content updated

- object
  - `data` object
    - `id` string, uuid
    - `title` string
    - `status` string
    - `word_count` integer
    - `updated_at` string, date-time
  - `request_id` string

## Other responses

- `404`: Resource not found

---

[API](https://skmtc.dev/frase/apis/frase-api.md) · [All operations](https://skmtc.dev/frase/apis/frase-api/llms.txt) · [OpenAPI document](https://skmtc.dev/frase/apis/frase-api/revisions/7fb75d89f7a4?raw)
