Update a tag
Method: PUT
URL: https://example.com/<MIXPOST_CORE_PATH>/api/<workspaceUuid>/tags/{tagUuid}
Authorization: Bearer <token>
Body:
{
"name": "motivation",
"hex_color": "#60a5fa"
}
Key | Format | Required | Description |
---|---|---|---|
name | string | required | |
hex_color | string | required | HEX color |
Response:
- 200
- 401
- 403
- 404
- 422
{
"success": true,
}
{
"message": "Unauthenticated."
}
{
"message": "Access forbidden."
}
{
"message": "Workspace not found."
}
{
"message": "Tag not found."
}
{
"message": "Validation errors",
"errors": {}
}