---
title: "Move Button To Row"
method: POST
path: "/menu-layout/buttons/{button_id}/move-to-row"
tags: ["menu-layout"]
---

# Move Button To Row

`POST /menu-layout/buttons/{button_id}/move-to-row`

## Request

- The document declares no server URL.
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/docs/menu-layout/buttons/:button_id/move-to-row/post.ts> (a function with typed inputs; its response is checked against the schema)

Переместить кнопку в указанную строку.

## Path parameters

- `button_id` string, required

## Request body

- MoveButtonToRowRequest: Запрос на перемещение кнопки в другую строку.
  - `target_row_id` string, required: ID целевой строки
  - `position` integer, nullable: Позиция в строке (по умолчанию - в конец)

## Response `200`

Successful Response

- MoveButtonResponse: Ответ на перемещение кнопки.
  - `button_id` string, required
  - `new_row_index` integer, nullable
  - `target_row_id` string, nullable
  - `position` integer, nullable

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-03** `2360876ff9c5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/changes/menu-layout/buttons/:button_id/move-to-row/post.md)

---

[API](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api.md) - [All operations](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bedolagam/apis/remnawave-bot-admin-api/revisions/2360876ff9c5?raw)
