Skip to main content
PATCH https://cms.thepublive.com/publisher/{publisher_id}/tag/{id}/ Updates an existing tag. Only send the fields you want to change (partial update).

Path Parameters

NameTypeDescription
idintegerTag ID

Headers

NameTypeRequiredDescription
usernamestringYesAPI Key
passwordstringYesAPI Secret
Content-TypestringYesapplication/json

Request Body

FieldTypeDescription
namestringTag name
meta_titlestringSEO title
meta_descriptionstringSEO description
contentstringTag description (HTML)

Example Request

curl -X PATCH \
  'https://cms.thepublive.com/publisher/123/tag/500/' \
  -H 'username: YOUR_API_KEY' \
  -H 'password: YOUR_API_SECRET' \
  -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": ""
  }
}