Create Content Tag
POST
/admin/content-tags
const url = 'http://localhost:9000/admin/content-tags';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"value":"example","item_id":"example","metadata":{}}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url http://localhost:9000/admin/content-tags \ --header 'Content-Type: application/json' \ --data '{ "value": "example", "item_id": "example", "metadata": {} }'Request Body required
Section titled “Request Body required ” Media type application/json
object
value
required
string
item_id
required
string
metadata
object
key
additional properties
any
Example generated
{ "value": "example", "item_id": "example", "metadata": {}}Responses
Section titled “ Responses ”OK
Media type application/json
object
Example generated
{}