---
title: "Move Button Up"
method: POST
path: "/menu-layout/buttons/{button_id}/move-up"
tags: ["menu-layout"]
---

# Move Button Up

`POST /menu-layout/buttons/{button_id}/move-up`

## 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-up/post.ts> (a function with typed inputs; its response is checked against the schema)

Переместить кнопку вверх (в предыдущую строку или на позицию выше в текущей строке).

## Path parameters

- `button_id` string, required

## 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-up/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)
