POST /tag
Create Tag
POST
/tag
Create a new tag.
Inserts a Tag document into the Tag collection. Tags can subsequently
be connected to entities (e.g. products) via POST /tag/update-connections.
Emits: (direct transaction — no event class)
Required scope: config:tag:write
Authorizations
OAuth2PasswordBearer
password Flow
Token URL
"/api/auth"Scopes:
"admin"User can access and edit users and system settings"library"User can access and edit products"production"User can access and edit production plans"operator"User can access the operator panel and make production declarations
Request Body
application/json
JSON "_id": "string", "_key": "string", "_rev": "string", "name": "Urgent", "description": "Flag items that require immediate attention.", "color": "#E53935"
{
}
Responses
Successful Response
application/json
JSON "status": 200, "message": "string", "detail": { "_id": "string", "_key": "string", "_rev": "string", "name": "Urgent", "description": "Flag items that require immediate attention.", "color": "#E53935" }
{
}