Update tags
Endpoint: /article/{id}/tags
Method: PUT
URI params
Parameter | Type | Description |
---|---|---|
id | string | The identifier of content in TagBee app. REQUIRED |
Request body
Parameter | Type | Description |
---|---|---|
tags | array | Your content's tags. DEFAULT [ ] |
tags[ ].third_party_id | string | Your local tag's ID. e.g. Your tag's ID in your Wordpress Site REQUIRED |
tags[ ].tag | array | The tag's text REQUIRED |
version | integer | TagBee's API version REQUIRED |
Request
{
"version": 1,
"tags": [
{
"third_party_id": 322,
"tag": "Tag 1"
},
{
"third_party_id": 325,
"tag": "Tag 2"
}
]
}
Response
{
"data": {
"code": 200
}
}