curl --request POST \
--url https://api.example.com/cabinet/admin/menu-layout/reset \
--header 'Authorization: Bearer <token>'{
"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"
}
]
}
]
}Reset menu layout AND button styles to defaults. Admin only.
curl --request POST \
--url https://api.example.com/cabinet/admin/menu-layout/reset \
--header 'Authorization: Bearer <token>'{
"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"
}
]
}
]
}