Skip to main content
PATCH
/
cms
/
{slug}
/
{id}
Update CMS Item
curl --request PATCH \
  --url https://api.kardow.com/cms/{slug}/{id} \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "data": {},
  "expires_at": "2023-11-07T05:31:56Z",
  "starts_at": "2023-11-07T05:31:56Z",
  "position": 123
}
'
{
  "item": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "data": {},
    "status": "<string>",
    "starts_at": "2023-11-07T05:31:56Z",
    "expires_at": "2023-11-07T05:31:56Z",
    "position": 123,
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://kardow.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

When you send data, the entire data payload is replaced (and validated). Send only status, expires_at, starts_at, or position to change those without touching the data shape.

Authorizations

x-api-key
string
header
required

API key for authentication. Get yours from Settings > API Keys in the Kardow dashboard.

Path Parameters

slug
string
required
id
string<uuid>
required

Body

application/json
data
object
status
enum<string>
Available options:
draft,
pending_review,
published,
expired,
archived
expires_at
string<date-time> | null
starts_at
string<date-time> | null
position
integer

Response

Updated

item
object