Update a category
POST
https://api.tamio.com/v2/categories/update/{uuid}
Updates an existing category. Requires both the category uuid (in the path)
and the new config object in the request body.
The config replaces the existing multilingual configuration. All other fields
(asset_id, status, icon) are optional and only update when provided.
Path Parameters
uuid
string*
UUID of the category to update.
Body Parameters
asset_id
string
UUID of the image asset to associate with this category.
status
boolean
Whether the category is active and visible.
icon
string
Icon data or URL for category display. Set to null to clear.
config
object*
Multilingual configuration keyed by language code (e.g. en, de, es).
Must contain between 1 and 10 language entries. Language codes must match
the languages enabled on your account.
Example
{
"config": {
"en": {
"title": "Updated Electronics"
}
}
}
Responses
200
Category updated successfully
Category updated successfully
status
integer
category
Category
400
| Code | Description |
| Code | Description |
|---|---|
1002 | Category or asset not found |
10156 | Category name is invalid (empty or missing title) |
status
integer
error
string
error_code
integer
401
Unauthorized – invalid or missing Bearer token
Unauthorized – invalid or missing Bearer token
status
integer
error
string