Skip to main content
PATCH
/
publisher
/
{publisher_id}
/
tag
/
{id}
Update Tag
curl --request PATCH \
  --url https://cms.thepublive.com/publisher/{publisher_id}/tag/{id}/ \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "meta_title": "<string>",
  "meta_description": "<string>",
  "content": "<string>"
}
'
{
  "status": "success",
  "message": "Updated Successfully",
  "data": {
    "id": 500,
    "name": "Breaking News Updated",
    "english_name": "Breaking News",
    "slug": "breaking-news",
    "absolute_url": "/tag/breaking-news",
    "meta_title": "",
    "meta_description": ""
  }
}
Updates an existing tag. 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 slug generation
  • slug — URL slug (derived from english_name at creation)

Updatable fields

publisher_id
string
required
Your Publisher ID
id
integer
required
Tag ID
name
string
Tag name
meta_title
string
SEO title
meta_description
string
SEO description
content
string
Tag description (HTML)

Example request

curl -X PATCH \
  'https://cms.thepublive.com/publisher/123/tag/500/' \
  -H 'Authorization: Basic <BASE64_AUTH_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"name": "Breaking News Updated"}'
{
  "status": "success",
  "message": "Updated Successfully",
  "data": {
    "id": 500,
    "name": "Breaking News Updated",
    "english_name": "Breaking News",
    "slug": "breaking-news",
    "absolute_url": "/tag/breaking-news",
    "meta_title": "",
    "meta_description": ""
  }
}