Create a tag
Method: POST
URL: https://example.com/<MIXPOST_CORE_PATH>/api/<workspaceUuid>/tags
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
{
"id": 3,
"uuid": "6059e1b3-e102-4be5-951b-82698abd9ee3",
"name": "Motivation",
"hex_color": "#000000"
}
{
"message": "Unauthenticated."
}
{
"message": "Access forbidden."
}
{
"message": "Workspace not found."
}
{
"message": "Validation errors",
"errors": {}
}