Skip to main content
PATCH
/
publisher
/
{publisher_id}
/
category
/
{id}
Update Category
curl --request PATCH \
  --url https://cms.thepublive.com/publisher/{publisher_id}/category/{id}/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "meta_title": "<string>",
  "meta_description": "<string>",
  "content": "<string>",
  "category_brand_color": "<string>",
  "priority": 123
}
'
{
  "status": "success",
  "message": "Updated Successfully",
  "data": {
    "id": 14428,
    "name": "Latest News",
    "english_name": "News",
    "slug": "news",
    "absolute_url": "/news",
    "parent_category": null,
    "category_brand_color": "#EF4444",
    "content": "",
    "meta_title": "Latest News Updates",
    "meta_description": "",
    "content_type": null
  }
}
Updates an existing category. Only send the fields you want to change (partial update).
The following fields are immutable after creation and cannot be changed via update:
  • english_name — English name used for permalink generation
  • slug — URL slug (derived from english_name at creation)
  • content_type — Content type filter

Updatable fields

publisher_id
string
required
Your Publisher ID
id
integer
required
Category ID
name
string
Category name
meta_title
string
SEO title
meta_description
string
SEO description
content
string
Category description (HTML)
category_brand_color
string
Brand color (hex)
priority
integer
Priority level

Example request

curl -X PATCH \
  'https://cms.thepublive.com/publisher/123/category/14428/' \
  -H 'Authorization: Basic <BASE64_AUTH_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"name": "Latest News", "meta_title": "Latest News Updates"}'
{
  "status": "success",
  "message": "Updated Successfully",
  "data": {
    "id": 14428,
    "name": "Latest News",
    "english_name": "News",
    "slug": "news",
    "absolute_url": "/news",
    "parent_category": null,
    "category_brand_color": "#EF4444",
    "content": "",
    "meta_title": "Latest News Updates",
    "meta_description": "",
    "content_type": null
  }
}