Update Tag Endpoint
Structure
Tag
| Name |
Type |
Description |
Required |
name |
string | The name of the tag | No |
slug |
string | The slug of the tag | No |
reference |
string | The reference of the tag | No |
image |
object | The Image of the tag | No |
has_slug |
boolean | Whether the tag has a slug or not | No |
Image
| Name |
Type |
Description |
Required |
src |
string | The source url of the image | Yes |
Example Request
PUT /api/tag-groups/{id|name}/tags/{id|name}
{
"name": "Medium",
"slug": "med-ium"
}
Example Response
{
"tag": {
"id": 1
}
}