Version: 202601
Update menu
PUT/openapi/2026-01/menus/:id
Update a menu's name and items. Built-in menus only allow a limited set of fields to change.
Request
Path Parameters
id stringrequired
Menu id to update
- application/json
- Body
- Example
Bodyrequired
titlestring
New title. Optional; kept unchanged when omitted
categoryint32
Menu category (custom menu = 3). Optional; 0 or omitted keeps the current value
childrenobject[]
Menu items tree. Omitted or an empty array both keep the current items
json
{
"title": "string",
"category": 0,
"children": [
{}
]
}
Responses
- 200
OK
- application/json
- Schema
- Example
Schema
codestring
error code
messagestring
error message
data object
menuobject
Updated menu ({id, ...})
json
{
"code": "string",
"message": "string",
"data": {
"menu": {}
}
}