curl --request PUT \
--url https://api.example.com/cabinet/admin/menu-layout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rows": [
{
"id": "<string>",
"max_per_row": 2,
"buttons": [
{
"id": "<string>",
"type": "builtin",
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {},
"url": "<string>",
"open_in": "external"
}
]
}
]
}
'{
"rows": [
{
"id": "<string>",
"max_per_row": 2,
"buttons": [
{
"id": "<string>",
"type": "builtin",
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {},
"url": "<string>",
"open_in": "external"
}
]
}
]
}Save full menu layout config. Splits into layout + button styles. Admin only.
curl --request PUT \
--url https://api.example.com/cabinet/admin/menu-layout \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"rows": [
{
"id": "<string>",
"max_per_row": 2,
"buttons": [
{
"id": "<string>",
"type": "builtin",
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {},
"url": "<string>",
"open_in": "external"
}
]
}
]
}
'{
"rows": [
{
"id": "<string>",
"max_per_row": 2,
"buttons": [
{
"id": "<string>",
"type": "builtin",
"style": "primary",
"icon_custom_emoji_id": "",
"enabled": true,
"labels": {},
"url": "<string>",
"open_in": "external"
}
]
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Full menu configuration submitted by the frontend.
20Show child attributes
Successful Response
Full merged menu configuration returned to the frontend.
Show child attributes