Skip to main content
PATCH
/
v1
/
tags
/
{identifier}
Update tag
curl --request PATCH \
  --url https://api.marblecms.com/v1/tags/{identifier} \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "TypeScript",
  "slug": "typescript",
  "description": "TypeScript tutorials and guides"
}
'
{
  "tag": {
    "id": "cryitfjp4567no07ygqadhm1",
    "name": "JavaScript",
    "slug": "javascript",
    "description": "JavaScript tutorials and guides"
  }
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

Your Marble API key

Path Parameters

identifier
string
required

Tag ID or slug

Example:

"javascript"

Body

application/json
name
string
Minimum string length: 1
Example:

"TypeScript"

slug
string
Minimum string length: 1
Example:

"typescript"

description
string | null
Example:

"TypeScript tutorials and guides"

Response

Tag updated successfully

tag
object
required