Update an existing tag by ID or slug. Requires a private API key.
cURL
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" } }
Your Marble API key
Tag ID or slug
"javascript"
1
"TypeScript"
"typescript"
"TypeScript tutorials and guides"
Tag updated successfully
Show child attributes
Was this page helpful?