---
title: "Update an article"
method: PATCH
path: "/v3/cms/articles/{slug}"
tags: ["CMS"]
---

# Update an article

`PATCH /v3/cms/articles/{slug}`

## Path parameters

- `slug` string, required

## Request body

- object
  - `teamId` string
  - `content` string
  - `metaData` object
  - `slug` string
  - `status` string
  - `isPublic` boolean
  - `jsonLd` string, nullable
  - `keywords` object[]
    - `keyword` string, required
    - `type` 'primary' | 'secondary', required
  - `prompts` object[]
    - `prompt` string, required
    - `type` 'primary' | 'secondary', required
  - `revisionSource` 'manual'
  - `revisionLabel` string
  - `autoOptimizeState` object
    - `appliedIds` string[]
    - `dismissedIds` string[]
    - `undoData` object

## Response `200`

Default Response

- object
  - `article` object
    - `slug` string
    - `title` string
    - `status` string
    - `isPublic` boolean
    - `updatedAt` string
    - `lastRefreshedAt` string, nullable
    - `cmsSyncDirty` boolean
    - `publishedSnapshot` object, nullable

## Other responses

- `400` — Default Response
- `404` — Default Response
- `409` — Default Response
- `500` — Default Response

---

[API](https://skmtc.net/snowseo/apis/snowseo-api.md) · [All operations](https://skmtc.net/snowseo/apis/snowseo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/snowseo/snowseo-api/versions/6e50f4761eea/schema)
